Commit graph

10 commits

Author SHA1 Message Date
Fabio Alessandro Locati
cc25f24475 Native YAML - system (#3625)
* Native YAML - system

* Remove comment that is not applicable to the code
2016-12-08 11:35:14 -05:00
Shinichi TAMURA
335a28443d timezone: Fix TypeError
closes #3337
2016-12-08 11:35:12 -05:00
Michael Scherer
4bbfe36a6e Refactor some code in timezone module 2016-12-08 11:35:00 -05:00
Jonathan Mainguy
d4b94ec6bb fix timezone for centos6 (#3078) 2016-12-08 11:34:55 -05:00
Toshio Kuratomi
3cb7e4bd0e Style cleanups:
* Don't use iterkeys
* Don't use wildcard imports
2016-12-08 11:34:47 -05:00
Michael Scherer
b255ac4ea6 Use six for iteration, to make it run on python3 (#2800) 2016-12-08 11:34:47 -05:00
Adrian Likins
66716d58a2 Use %s string formatting in system/timezone.py (#2632)
This module was using python 2.6 string .format().
To enable the module to run on python2.4, replace
the .format formatting with '%s' based string formatting.

There was also a use of a 'filename' variable in the
NosystemdTimezone.get() method that was never set.

An import of 'os' was also added for clarity.
2016-12-08 11:34:35 -05:00
Nate Prewitt
842394b1ab removing | from description so docs render properly in RTD (#2533) 2016-12-08 11:34:31 -05:00
Shota
a369096f88 Fix some typos (#2490) 2016-12-08 11:34:25 -05:00
Shinichi TAMURA
3cb598f9f8 Added timezone module (#2414) 2016-12-08 11:34:24 -05:00