diff options
author | sienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2011-08-09 15:28:18 -0400 |
---|---|---|
committer | sienkiew <sienkiew@d34015c8-bcbb-4646-8ac8-8ba5febf221d> | 2011-08-09 15:28:18 -0400 |
commit | e96fe3cd998e94c9c728d46190fd1d61700efd00 (patch) | |
tree | 8c44f852a12ab821065346f0d19b96e47addc3ab | |
parent | e87b107fd80aee219a39ac0ecd52cc2b3a766990 (diff) | |
download | exyapps-e96fe3cd998e94c9c728d46190fd1d61700efd00.tar.gz |
fix file naming bug
git-svn-id: http://svn.stsci.edu/svn/ssb/etal/exyapps/trunk@362 d34015c8-bcbb-4646-8ac8-8ba5febf221d
-rwxr-xr-x | exyapps/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exyapps/main.py b/exyapps/main.py index 881c3cc..322a3eb 100755 --- a/exyapps/main.py +++ b/exyapps/main.py @@ -27,7 +27,7 @@ def generate(inputfilename, outputfilename=None, dump=0, **flags): # recognize *.exy for the new grammar elif inputfilename.endswith('.exy'): - outputfilename = inputfilename[:-3] + '.py' + outputfilename = inputfilename[:-4] + '.py' # cannot automatically generate the output file name if we don't recognize extension else: |