Skip to content

Commit b9e1862

Browse files
committed
cleaned up some code
1 parent c03908f commit b9e1862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quickpkg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def attachdmg(dmgpath):
9595
return volpaths
9696
else:
9797
print "error getting hdiutil info"
98-
print "(%d, %s)" % (result["returncode"], result["stderr"])
98+
print "(%d, %s)" % (info_result["returncode"], info_result["stderr"])
9999
cleanup_and_exit(1)
100100

101101
attachcmd = ["/usr/bin/hdiutil",
@@ -202,7 +202,7 @@ if __name__ == "__main__":
202202
if item_path.startswith('~'):
203203
item_path = os.path.expanduser(item_path)
204204
item_path = os.path.abspath(item_path)
205-
205+
206206
# get file extension
207207
(item_basename, item_extension) = os.path.splitext(item_path)
208208
item_extension = string.lstrip(item_extension, '.')

0 commit comments

Comments
 (0)