Skip to content
Browse files

fixed hdf5.py so that if self.libraries.compression is None the code …

…still runs correctly
  • Loading branch information...
1 parent c7322fd commit 4ded9de4218f95edb3ebe0aa859f4ba06a3ddb2a @BarrySmith BarrySmith committed with balay Aug 20, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 config/BuildSystem/config/packages/hdf5.py
View
5 config/BuildSystem/config/packages/hdf5.py
@@ -25,8 +25,9 @@ def generateLibList(self, framework):
list = []
for l in self.liblist:
list.append(l)
- for l in self.liblist:
- list.append(l + self.libraries.compression)
+ if self.libraries.compression:
+ for l in self.liblist:
+ list.append(l + self.libraries.compression)
self.liblist = list
return config.package.Package.generateLibList(self,framework)

0 comments on commit 4ded9de

Please sign in to comment.
Something went wrong with that request. Please try again.