~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to file-tools/cat-from.py

  • Committer: David Coles
  • Date: 2009-12-02 01:29:06 UTC
  • mfrom: (1326.1.5 svn-fixes)
  • Revision ID: coles.david@gmail.com-20091202012906-sy99zbe7zsylxq98
Fix crash when svnlog or diff services are used on non-existent or unversioned 
files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import sys
4
 
 
5
 
if __name__ == "__main__":
6
 
    inf = open(sys.argv[1], "rb")
7
 
    sys.stdout.write(inf.read())
8
 
    inf.close()