summaryrefslogtreecommitdiff
path: root/util/sconfig/parsedesc.g
diff options
context:
space:
mode:
Diffstat (limited to 'util/sconfig/parsedesc.g')
-rw-r--r--util/sconfig/parsedesc.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sconfig/parsedesc.g b/util/sconfig/parsedesc.g
index 1347c87438..acb8524838 100644
--- a/util/sconfig/parsedesc.g
+++ b/util/sconfig/parsedesc.g
@@ -126,7 +126,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