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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-07-17 22:02:23 UTC
  • Revision ID: me@williamgrant.id.au-20090717220223-9b1j9lm6oyon4xsa
Actually 404 when a matching route is not found.

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()