fix for various python bugs and remove unused var.

This commit is contained in:
2011-07-10 17:26:15 +00:00
parent de7592b489
commit 301e5b4ea0
13 changed files with 13 additions and 26 deletions

View File

@@ -262,7 +262,7 @@ def path_reference(filepath, base_src, base_dst, mode='AUTO', copy_subdir="", co
filepath_abs = filepath_cpy
mode = 'RELATIVE'
else:
Excaption("invalid mode given %r" % mode)
raise Exception("invalid mode given %r" % mode)
if mode == 'ABSOLUTE':
return filepath_abs