diff options
Diffstat (limited to 'util/sconfig/yapps2.py')
-rw-r--r-- | util/sconfig/yapps2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sconfig/yapps2.py b/util/sconfig/yapps2.py index 189db9d81b..b408cbcfb2 100644 --- a/util/sconfig/yapps2.py +++ b/util/sconfig/yapps2.py @@ -710,7 +710,7 @@ def generate(inputfilename, outputfilename='', dump=0, **flags): if inputfilename[-2:]=='.g': outputfilename = inputfilename[:-2]+'.py' else: raise "Invalid Filename", outputfilename - print ' SCONFIG ', join(outputfilename.split('/')[-5:], '/') + print ' SCONFIG ', join(outputfilename.split('/')[-4:], '/') DIVIDER = '\n%%\n' # This pattern separates the pre/post parsers preparser, postparser = None, None # Code before and after the parser desc |