Adrian Likins
f096cd6322
Fix pkgutil "upgrade_catalog must be one of" err ( #2149 )
...
The arg spec for update_catalog include 'type=bool'
and 'choices=["yes", "no"] which can never both be
true.
Remove the 'choices' directive, and update doc string.
Fixes #2144
2016-12-08 11:34:17 -05:00
Alexander Winkler
dca9d618f0
fixed inline for more compatibility
2016-12-08 11:33:43 -05:00
Alexander Winkler
c730bd6f1c
Added update_catalog and some error handling
2016-12-08 11:33:43 -05:00
Michael Scherer
d504253257
Simplify the code and remove use_unsafe_shell=True
...
While there is no security issue with this shell snippet, it
is better to not rely on shell and avoid use_unsafe_shell.
2016-12-08 11:33:41 -05:00
Matt Martz
22733a7574
Fix tabbed indentation in packaging/os/pkgutil.py
2016-12-08 11:33:40 -05:00
james
c2a4e230aa
More consistent use of run_command() wrapper function, which now adds the default binary location to the search path
2016-12-08 11:33:30 -05:00
Greg DeKoenigsberg
c65a612d1f
Changes to author formatting, remove emails
2016-12-08 11:32:51 -05:00
Toshio Kuratomi
4f07e8b256
Many more doc fixes
2016-12-08 11:32:40 -05:00
Konstantin
4602ca7bf4
pkgutil.py syntax fix
2016-12-08 11:32:27 -05:00
Dagobert Michelsen
1ff1537329
Adjust setting to better make logic clearer
2016-12-08 11:32:26 -05:00
Dagobert Michelsen
474df33ff3
Correctly report "changed: false" when trying to install a package not in the catalog. This fixes #230
2016-12-08 11:32:26 -05:00
Michael DeHaan
7d6ceb4f06
Reorganization.
2016-12-08 11:32:19 -05:00