Traceback on a common error (file not found: build.ver)
Bug #347133 reported by
Paul Jimenez
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vellum |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The common problem of build.vel not existing in the current working direction should be handled more gracefully than the current traceback thrown with an IOError.
This, maybe?
=== modified file 'vellum/press.py'
--- vellum/press.py 2008-04-26 19:37:18 +0000
+++ vellum/press.py 2009-03-23 07:15:38 +0000
@@ -90,6 +90,9 @@
"""
if file in self.recipes:
return self.recipes[file]
+ elif not os.path.
+ print "Expected file '%s' does not exist." % file
+ sys.exit(1)
else:
with open(file) as f:
Changed in vellum: | |
status: | New → Confirmed |
To post a comment you must log in.
This has been fixed in trunk