diff options
author | Tres Seaver <tseaver@palladion.com> | 2015-02-23 10:54:14 -0500 |
---|---|---|
committer | Tres Seaver <tseaver@palladion.com> | 2015-02-23 10:54:14 -0500 |
commit | a9dc91a5dafabe8d3a1d96168d8cb2fbef9f1df7 (patch) | |
tree | 0c9eb22fbef0d8a5d76409ea6bc55e9063c10645 /src/zope | |
parent | 4b03c85d364b981ba96a1af2cc48edc131c06c16 (diff) | |
download | zope-tal-a9dc91a5dafabe8d3a1d96168d8cb2fbef9f1df7.tar.gz |
Fix import error uncovered by nose.
Diffstat (limited to 'src/zope')
-rw-r--r-- | src/zope/tal/timer.py | 4 |
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() |