more pythonic

This commit is contained in:
Barış Metin
2005-06-22 10:29:55 +00:00
parent 410d1ff717
commit 0e14384415
+1 -1
View File
@@ -80,7 +80,7 @@ class PisiBuild:
def goToWorkDir(self, globals):
path = globals['WorkDir']
if path is not None:
if path:
path = self.ctx.pkg_work_dir() + "/" + path
else:
path = self.ctx.pkg_work_dir() + "/" + \