diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-09-23 23:33:10 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-09-23 23:33:10 +0200 |
commit | 5d2cac2cb5a03c8f55a2396e4c4ce13911a9149c (patch) | |
tree | d5f65982dc601da2dc1c59a4cdb29bebcd6456f8 /chimere/utils.py | |
parent | 9d0ff9f26f5b71c2e3d02451e8240472b29a2134 (diff) | |
download | Chimère-v2.1.tar.bz2 Chimère-v2.1.zip |
Imports: specify the status used by default during importsv2.1
Diffstat (limited to 'chimere/utils.py')
-rw-r--r-- | chimere/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chimere/utils.py b/chimere/utils.py index d898759..c5c59e9 100644 --- a/chimere/utils.py +++ b/chimere/utils.py @@ -124,8 +124,7 @@ class ImportManager(object): self.importer_instance.default_description values.update({ 'import_source':self.importer_instance.source}) - values['status'] = 'I' \ - if not self.importer_instance.automatic_update else 'A' + values['status'] = self.importer_instance.default_status if not self.importer_instance.associate_marker_to_way\ and cls.__name__ == 'Route': values['has_associated_marker'] = False |