summaryrefslogtreecommitdiffstats
path: root/Tools/modulator/genmodule.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/modulator/genmodule.py')
-rwxr-xr-xTools/modulator/genmodule.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/modulator/genmodule.py b/Tools/modulator/genmodule.py
index da30684..7df3983 100755
--- a/Tools/modulator/genmodule.py
+++ b/Tools/modulator/genmodule.py
@@ -63,8 +63,8 @@ class writer:
fn = os.path.join(fn, name)
if os.path.exists(fn):
return open(fn, 'r')
- raise error, 'Template '+name+' not found for '+self._type+' '+ \
- self.name
+ raise error('Template '+name+' not found for '+self._type+' '+ \
+ self.name)
class module(writer):
_type = 'module'