Commit Graph

22 Commits

Author SHA1 Message Date
Greg Neagle
72a0535d0d Update Copyright dates 2020-01-01 08:53:37 -08:00
Greg Neagle
a827e6cfd2 Import division from __future__ to make pylint --py3k happier 2019-11-14 10:03:03 -08:00
Greg Neagle
aec2ef7014 Raise better exceptions/errors when a filepath given to makepkginfo doesn't exist or can't be read. Addresses #960. 2019-11-14 09:57:00 -08:00
Greg Neagle
3ac475c7c6 Remove no-longer-used sorting function 2019-07-13 07:12:09 -07:00
Greg Neagle
cc3da0983c Fix some version sorting issues 2019-06-24 15:49:11 -07:00
Greg Neagle
0dddb5dbd5 Lots of Python 3 compatibility changes for munkilib 2019-06-22 22:19:39 -07:00
Greg Neagle
f067961e6e Remove unused plistlib import from munkilib/admin/makecatalogslib.py 2019-05-30 08:57:33 -07:00
Greg Neagle
a6d43a2b3c Python 3 compatibility for makecatalogs 2019-05-29 21:19:25 -07:00
Greg Neagle
f0e00aefba Fix a typo in a comment 2019-05-26 17:12:17 -07:00
Greg Neagle
4487595fba PyLint cleanups 2019-05-04 07:30:42 -07:00
Greg Neagle
df60207145 Add 'from __future__ import absolute_import' to all files to enforce Python3-style imports 2019-05-03 21:34:56 -07:00
Greg Neagle
531d99a01a Convert all print statements to Python3-compatible print functions 2019-05-03 19:47:37 -07:00
Elliot Jordan
2ad27ff411 Align except clauses with PEP 3110 (#933)
This should work for Python 2.6+, including 3.
https://www.python.org/dev/peps/pep-3110/#compatibility-issues
2019-05-03 15:05:13 -07:00
Elliot Jordan
d14c4304ea Various typo fixes and spelling corrections (#907)
* Fixed "No Comment" typo in strings files

* Fix "problem updates" typo

* Fix "caught" typo

* Fix "pseudo" typo

* Fix "instantiated" typo

* Fix "explicitly" typo

* Fix "osascript" typo

* Spelling fixes and various other corrections

* Fix two more instances of "Logput"

* Fixed a few remaining spelling issues in python files

* Fix "because" typo

PR also submitted upstream to the Murky project for the same correction.

* Fix name of associated app

* Additional spelling corrections in comments/docstrings
2019-02-14 08:30:43 -08:00
Greg Neagle
918d0b7391 Update copyright dates 2019-01-02 10:31:50 -08:00
Arjen van Bochoven
0bfa5a38b5 Remove .lower() from check_mode() in pkginfolib (#867)
Fix #866
2018-10-03 15:48:55 +02:00
Greg Neagle
1428c40d06 Update copyright notices to include 2018 2018-01-20 08:46:22 -08:00
Greg Neagle
f7f7f527b4 makecatalogslib.py: _append_ extra errors to the end of the errors list; _extend_ does the wrong thing :-) 2017-11-27 11:05:03 -08:00
Greg Neagle
833cd18806 Make some functions in munkiimportlib.py less chatty to make them easier to use in other code 2017-11-26 17:32:15 -08:00
Greg Neagle
dd6e936e80 munkiimport now calls code in munkilib/admin/makecatalogs.py to rebuild catalogs instead of subprocessing makecatalogs 2017-11-19 17:56:09 -08:00
Greg Neagle
255f5762f5 Move reusable code from makecatalogs into munkilib/admin/makecatalogslb.py 2017-11-19 17:30:22 -08:00
Greg Neagle
dbf0c95b9d Move munkiimportlib.py and pkginfolib.py into munkilib/admin 2017-11-19 08:39:22 -08:00