bugfix_lang_5_char
bzr revid: fp@tinyerp.com-20090407212246-10hqckjj5flx6sfa
This commit is contained in:
commit
4193c0c802
|
@ -37,6 +37,7 @@
|
|||
<rng:optional><rng:attribute name="position"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="link"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="type"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="limit"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="min_rows"/></rng:optional>
|
||||
<rng:optional><rng:attribute name="on_write"/></rng:optional>
|
||||
<rng:zeroOrMore>
|
||||
|
|
|
@ -262,7 +262,7 @@ class configmanager(object):
|
|||
self.options['pg_path'] = opt.pg_path
|
||||
|
||||
if self.options.get('language', False):
|
||||
if len(self.options['language']) <= 5:
|
||||
if len(self.options['language']) > 5:
|
||||
raise Exception('ERROR: The Lang name must take max 5 chars, Eg: -lfr_BE')
|
||||
|
||||
if not self.options['db_user']:
|
||||
|
|
Loading…
Reference in New Issue