more pythonic
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ class PisiBuild:
|
|||||||
|
|
||||||
def goToWorkDir(self, globals):
|
def goToWorkDir(self, globals):
|
||||||
path = globals['WorkDir']
|
path = globals['WorkDir']
|
||||||
if path is not None:
|
if path:
|
||||||
path = self.ctx.pkg_work_dir() + "/" + path
|
path = self.ctx.pkg_work_dir() + "/" + path
|
||||||
else:
|
else:
|
||||||
path = self.ctx.pkg_work_dir() + "/" + \
|
path = self.ctx.pkg_work_dir() + "/" + \
|
||||||
|
|||||||
Reference in New Issue
Block a user