This commit is contained in:
Jeremy Fincher 2004-10-01 04:19:50 +00:00
parent 10579c5de0
commit 209226a09d

View File

@ -26,7 +26,7 @@ def system(sh, errmsg=None):
errmsg = sh errmsg = sh
ret = os.system(sh) ret = os.system(sh)
if not ret: if not ret:
error(errmsg + ' (error code: %s)') error(errmsg + ' (error code: %s)' % ret)
if __name__ == '__main__': if __name__ == '__main__':
if len(sys.argv) < 2: if len(sys.argv) < 2: