Commit Graph

25 Commits

Author SHA1 Message Date
Greg Neagle
619a1d7055 Don't encode CFBundleVersion into a bytestring before checking if it starts with a digit. Fixes a TypeError exception in Python3 2019-08-06 12:50:54 -07:00
Greg Neagle
7ff576f159 Python 3 compatibility fixes 2019-07-13 18:21:54 -07:00
Greg Neagle
b5bb875884 Better unicode text handling for subprocesses 2019-06-24 21:53:37 -07:00
Greg Neagle
bb2242aee8 Re-implement comparsions for MunkiLooseVersion so Python 3 behavior matches than of Python 2 2019-06-24 16:13:06 -07:00
Greg Neagle
cc3da0983c Fix some version sorting issues 2019-06-24 15:49:11 -07:00
Greg Neagle
57f791b922 Python 3 compatibility changes for makepkginfo 2019-06-22 22:38:52 -07:00
Greg Neagle
0dddb5dbd5 Lots of Python 3 compatibility changes for munkilib 2019-06-22 22:19:39 -07:00
Greg Neagle
4b2327d54b More Python 3 compatibility 2019-06-04 22:27:29 -07:00
Greg Neagle
3768eb78cb PyLint cleanups 2019-05-05 11:14:04 -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
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
e10fed04ee Defend against badly-authored packages that define their installKBytes as a float instead of an integer. Addresses #902. 2019-01-30 09:15:11 -08:00
Greg Neagle
918d0b7391 Update copyright dates 2019-01-02 10:31:50 -08:00
Greg Neagle
1428c40d06 Update copyright notices to include 2018 2018-01-20 08:46:22 -08:00
Greg Neagle
4053a0dbe7 Update copyright dates to 2017 2017-01-17 20:14:31 -08:00
Greg Neagle
24805bd99b Remove 'shebang' line from all Python modules that are not intended to be executed as scripts. This also causes my stupid editor to stop marking these files as executable. 2017-01-11 16:03:33 -08:00
Greg Neagle
2e905b0dea Once again remove executable bits that are getting set 2017-01-10 09:03:30 -08:00
Greg Neagle
8deb944a7c decrease repeated defintions of the same function 2017-01-09 10:14:16 -08:00
Greg Neagle
41153d3a86 Remove execute bit from most munkilib/*.py files 2017-01-02 16:07:55 -08:00
Greg Neagle
628046ed15 Many PyLint fixes and missing import fixes 2017-01-02 16:06:16 -08:00
Greg Neagle
242bbc9855 Move more functions out of updatecheck and into new modules 2017-01-01 14:43:54 -08:00
Greg Neagle
c386ede21c Move Memoize decorator to utils module 2016-12-17 09:24:15 -08:00
Greg Neagle
b126f09bb4 Move getFirstPlist function into utils 2016-12-17 09:06:40 -08:00
Greg Neagle
8a6a7bb13e Reorg of modules under munkilib; I might chnage my mind again... 2016-12-16 19:02:17 -08:00