summaryrefslogtreecommitdiffstats
path: root/utils/scanpypi
diff options
context:
space:
mode:
Diffstat (limited to 'utils/scanpypi')
-rwxr-xr-xutils/scanpypi4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/scanpypi b/utils/scanpypi
index bb3899241b..9abf3c4139 100755
--- a/utils/scanpypi
+++ b/utils/scanpypi
@@ -255,12 +255,12 @@ class BuildrootPackage():
# called through the if __name__ == '__main__' directive.
# In this case, we can only pray that it is called through a
# function called main() in setup.py.
- setup.main([]) # Will raise AttributeError if not found
+ setup.main() # Will raise AttributeError if not found
self.setup_metadata = self.setup_args[self.metadata_name]
# Here we must remove the module the hard way.
# We must do this because of a very specific case: if a package calls
# setup from the __main__ but does not come with a 'main()' function,
- # for some reason setup.main([]) will successfully call the main
+ # for some reason setup.main() will successfully call the main
# function of a previous package...
sys.modules.pop('setup',None)
del setup
OpenPOWER on IntegriCloud