summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtoprammer2
-rw-r--r--util.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/toprammer b/toprammer
index ab20ee8..d3ceb49 100755
--- a/toprammer
+++ b/toprammer
@@ -609,7 +609,7 @@ def fileOut(filename, format, data):
def fileIn(filename, format):
if filename == "-":
- pass#TODO
+ data = sys.stdin.read()
else:
data = file(filename, "rb").read()
if format == "auto":
diff --git a/util.py b/util.py
index d784bf9..8e6dec2 100644
--- a/util.py
+++ b/util.py
@@ -27,6 +27,7 @@ class TOPException(Exception): pass
def parseHexdump(dump):
+ raise TOPException()
pass#TODO
def generateHexdump(mem):
bues.ch cgit interface