Skip to content

Instantly share code, notes, and snippets.

From http://www.leancrew.com/all-this/2008/05/snapshotupload-utility-with-gui/ On Wednesday, February 11, 2009 2:11:19 PM I have snapftp saved in my ~/Library/Scripts folder where FastScripts can get at it. The Pashua application is saved in /Applications, as expected, and the Pashua.py Python module is saved in /Library/Python/2.5/site-packages. The module has one line that I feel is unwarranted and that I have commented out. Down near the bottom of Pashua.py, is a loop that looks like this:
for Line in Result:
print Line
Parm, Value = Line.split('=')
ResultDict[Parm] = Value.rstrip()
I think a print command in a library utility that is supposed to read lines is just plain wrong, so IÕve commented out the print Line.