Skip to content

Commit

Permalink
Allow to add test ro db when conf is not in current version
Browse files Browse the repository at this point in the history
ESS-1103
  • Loading branch information
riccardomarotti committed Jun 8, 2016
1 parent c31bf51 commit a7635a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion misura/canon/indexer/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ def get_test_data(self, table, file_path, add_uid_to_incremental_ids_table):
if active_version:
version_node = getattr(table.root, active_version, False)
if version_node is not False:
conf = version_node.conf
versioned_conf = getattr(version_node, 'conf', False)
if versioned_conf is not False:
conf = version_node.conf

# Load configuration
node = filenode.openNode(conf, 'r')
Expand Down

0 comments on commit a7635a0

Please sign in to comment.