fix ingoring of additional args when invoked from scons; bump version

This commit is contained in:
Tobias Oberstein 2014-08-05 12:47:33 +02:00
parent 26a360a00c
commit 85dff51cc9
2 changed files with 4 additions and 4 deletions

View file

@ -71,10 +71,10 @@ except ImportError:
pass pass
APP = 'scour' APP = 'scour'
VER = '0.29' VER = '0.30'
COPYRIGHT = 'Copyright Jeff Schiller, Louis Simard, 2010' COPYRIGHT = 'Copyright Jeff Schiller, Louis Simard, 2010'
NS = { 'SVG': 'http://www.w3.org/2000/svg', NS = {'SVG': 'http://www.w3.org/2000/svg',
'XLINK': 'http://www.w3.org/1999/xlink', 'XLINK': 'http://www.w3.org/1999/xlink',
'SODIPODI': 'http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd', 'SODIPODI': 'http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd',
'INKSCAPE': 'http://www.inkscape.org/namespaces/inkscape', 'INKSCAPE': 'http://www.inkscape.org/namespaces/inkscape',
@ -3228,7 +3228,7 @@ def generateDefaultOptions():
def __init__(self, **entries): def __init__(self, **entries):
self.__dict__.update(entries) self.__dict__.update(entries)
d = parse_args(ignore_additional_args = True)[0].__dict__.copy() d = parse_args(args = [], ignore_additional_args = True)[0].__dict__.copy()
return Struct(**d) return Struct(**d)

View file

@ -32,7 +32,7 @@ Authors:
setup ( setup (
name = 'scour', name = 'scour',
version = '0.29', version = '0.30',
description = 'Scour SVG Optimizer', description = 'Scour SVG Optimizer',
# long_description = open("README.md").read(), # long_description = open("README.md").read(),
long_description = LONGDESC, long_description = LONGDESC,