summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2015-02-23 10:54:14 -0500
committerTres Seaver <tseaver@palladion.com>2015-02-23 10:54:14 -0500
commita9dc91a5dafabe8d3a1d96168d8cb2fbef9f1df7 (patch)
tree0c9eb22fbef0d8a5d76409ea6bc55e9063c10645
parent4b03c85d364b981ba96a1af2cc48edc131c06c16 (diff)
downloadzope-tal-a9dc91a5dafabe8d3a1d96168d8cb2fbef9f1df7.tar.gz
Fix import error uncovered by nose.
-rw-r--r--src/zope/tal/timer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zope/tal/timer.py b/src/zope/tal/timer.py
index 6c70f70..e4fad56 100644
--- a/src/zope/tal/timer.py
+++ b/src/zope/tal/timer.py
@@ -20,7 +20,7 @@ import time
from cStringIO import StringIO
-from zope.tal.driver import FILE, compilefile, interpretit
+from zope.tal.driver import compilefile, interpretit
def main():
@@ -34,7 +34,7 @@ def main():
if o == "-n":
count = int(a)
if not args:
- args = [FILE]
+ raise ValueError("No args")
for file in args:
print(file)
dummyfile = StringIO()