mirror of
https://github.com/munki/munki.git
synced 2026-04-21 20:18:20 -05:00
Renamed munkicommon.version() to munkicommon.get_version() to prevent name conflict with the version library from the distutil module.
git-svn-id: http://munki.googlecode.com/svn/trunk@305 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -196,7 +196,7 @@ def main():
|
||||
options, arguments = p.parse_args()
|
||||
|
||||
if options.version:
|
||||
print munkicommon.version()
|
||||
print munkicommon.get_version()
|
||||
exit(0)
|
||||
|
||||
if options.auto:
|
||||
|
||||
@@ -38,7 +38,7 @@ from Foundation import NSDictionary, NSDate
|
||||
import munkistatus
|
||||
import FoundationPlist
|
||||
|
||||
def version():
|
||||
def get_version():
|
||||
'''Returns version of munkitools'''
|
||||
return "0.4.5"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user