changeset 17248:03826360967b

fix pylint issues
author Doug Simon <doug.simon@oracle.com>
date Mon, 29 Sep 2014 14:14:01 +0200
parents eed077c367d3
children c13f423bd4ed
files mxtool/mx.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Mon Sep 29 13:59:41 2014 +0200
+++ b/mxtool/mx.py	Mon Sep 29 14:14:01 2014 +0200
@@ -285,7 +285,7 @@
         libraries if 'includeLibs' is true, to the 'deps' list.
         """
         return self._all_deps_helper(deps, [], includeLibs, includeSelf, includeJreLibs, includeAnnotationProcessors)
-    
+
     def _all_deps_helper(self, deps, dependants, includeLibs, includeSelf=True, includeJreLibs=False, includeAnnotationProcessors=False):
         if self in dependants:
             abort(str(self) + 'Project dependency cycle found:\n    ' +
@@ -302,7 +302,7 @@
             if not dep in deps:
                 if dep.isProject():
                     dep._all_deps_helper(deps, dependants + [self], includeLibs=includeLibs, includeJreLibs=includeJreLibs, includeAnnotationProcessors=includeAnnotationProcessors)
-                elif (dep.isProject or (dep.isLibrary() and includeLibs) or (dep.isJreLibrary() and includeJreLibs)):
+                elif dep.isProject or (dep.isLibrary() and includeLibs) or (dep.isJreLibrary() and includeJreLibs):
                     dep.all_deps(deps, includeLibs=includeLibs, includeJreLibs=includeJreLibs, includeAnnotationProcessors=includeAnnotationProcessors)
         if not self in deps and includeSelf:
             deps.append(self)