summaryrefslogtreecommitdiff
path: root/tools/dfagen/dfagen/command.py
diff options
context:
space:
mode:
authorNicolas Schodet2008-03-25 23:04:37 +0100
committerNicolas Schodet2008-03-25 23:04:37 +0100
commit55ea6889987a9ca1e7429951e0e94be0fa99d7af (patch)
tree48469a2386f302b6c7dfa814d6094b61e89d223c /tools/dfagen/dfagen/command.py
parent1ea652e0d5185aee5ca60182302d7bb2d4056b46 (diff)
* tools/dfagen:
- fixed warning in doc. - fixed missing newline. - added use of non default templates. - added warning about parser.g. - removed .orig file when patching.
Diffstat (limited to 'tools/dfagen/dfagen/command.py')
-rw-r--r--tools/dfagen/dfagen/command.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/dfagen/dfagen/command.py b/tools/dfagen/dfagen/command.py
index d384087e..36f4803d 100644
--- a/tools/dfagen/dfagen/command.py
+++ b/tools/dfagen/dfagen/command.py
@@ -1,4 +1,10 @@
-import dfagen.parser, dfagen.output
+import dfagen.output
+try:
+ import dfagen.parser
+except ImportError:
+ print "--> You should run yapps on parser.g!"
+ raise
+
from optparse import OptionParser
def run ():