Skip to content

Commit

Permalink
fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Lenail committed Jul 26, 2016
1 parent 0b1730f commit e349aaf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/galaxy/objectstore/azure_blob.py
Expand Up @@ -67,8 +67,8 @@ def _parse_config_xml(self, config_xml):
self.account_name = auth_xml.get('account_name')
self.account_key = auth_xml.get('account_key')
container_xml = config_xml.find('container')
self.container = container_xml.get('name')
self.max_chunk_size = int(container_xml.get('max_chunk_size', 250))
self.container_name = container_xml.get('name')
self.max_chunk_size = int(container_xml.get('max_chunk_size', 250)) # currently unused
cache_xml = config_xml.find('cache')
self.cache_size = float(cache_xml.get('size', -1))
self.staging_path = cache_xml.get('path', self.config.object_store_cache_path)
Expand All @@ -79,9 +79,6 @@ def _parse_config_xml(self, config_xml):
log.debug("Object cache dir: %s", self.staging_path)
log.debug(" job work dir: %s", self.extra_dirs['job_work'])

self.AzureBlobServer = {'account_name': self.account_name,
'account_key': self.account_key,
'max_chunk_size': self.max_chunk_size}

except Exception:
# Toss it back up after logging, we can't continue loading at this point.
Expand Down

0 comments on commit e349aaf

Please sign in to comment.