Skip to content

Commit

Permalink
Merge pull request #23 from DrDaveD/fix-el6-syntax-error
Browse files Browse the repository at this point in the history
Fix el6 syntax error
  • Loading branch information
DrDaveD authored Feb 26, 2018
2 parents 9b83a8f + 63def10 commit ba5789f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions cvmfs/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,11 @@ def backtrace_content_hash(self, content_hash):
FROM chunks \
WHERE lower(hex(hash)) = '" +
content_hash + "';")
return list({ self.backtrace_path_split_md5(md5pair[0], md5pair[1]) \
for md5pair in bulk_chunks + partial_chunks })
pairs = []
for md5pair in bulk_chunks + partial_chunks:
pairs.append(self.backtrace_path_split_md5(md5pair[0], md5pair[1]))

return pairs


def is_root(self):
Expand Down
6 changes: 3 additions & 3 deletions rpm/python-cvmfsutils.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%define name python-cvmfsutils
%define version 0.4.0
%define unmangled_version 0.4.0
%define unmangled_version 0.4.0
%define version 0.4.1
%define unmangled_version 0.4.1
%define unmangled_version 0.4.1
%define release 1

Summary: Inspect CernVM-FS repositories
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='python-cvmfsutils',
version='0.4.0',
version='0.4.1',
url='http://cernvm.cern.ch',
author='Rene Meusel',
author_email='rene.meusel@cern.ch',
Expand Down

0 comments on commit ba5789f

Please sign in to comment.