Skip to content
Browse files

allow git-rev.txt to have a newline after hash

  • Loading branch information...
1 parent bde9622 commit 33eda32fc7a28ccb38b7382d702a70989e3f5357 Umeku committed Aug 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-ftp.py
View
2 git-ftp.py
@@ -98,7 +98,7 @@ def main():
hashFile = cStringIO.StringIO()
try:
ftp.retrbinary('RETR git-rev.txt', hashFile.write)
- hash = hashFile.getvalue()
+ hash = hashFile.getvalue().strip()
except ftplib.error_perm:
pass

0 comments on commit 33eda32

Please sign in to comment.
Something went wrong with that request. Please try again.