File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33coloredlogs >= 5.1
44executor >= 21.3
5- humanfriendly >= 6 .1
5+ humanfriendly >= 7 .1
66naturalsort >= 1.4
77property-manager >= 2.3
88python-dateutil >= 2.2
Original file line number Diff line number Diff line change 11# rotate-backups: Simple command line interface for backup rotation.
22#
33# Author: Peter Odding <peter@peterodding.com>
4- # Last Change: February 14 , 2020
4+ # Last Change: February 18 , 2020
55# URL: https://github.com/xolox/python-rotate-backups
66
77"""
208208
209209# External dependencies.
210210import coloredlogs
211- from coloredlogs import WINDOWS
212211from coloredlogs .syslog import enable_system_logging
213212from executor import validate_ionice_class
214213from humanfriendly import coerce_boolean , parse_path , pluralize
214+ from humanfriendly .compat import on_windows
215215from humanfriendly .terminal import usage
216216from verboselogs import VerboseLogger
217217
@@ -235,7 +235,7 @@ def main():
235235 kw = dict (include_list = [], exclude_list = [])
236236 parallel = False
237237 use_sudo = False
238- use_syslog = (not WINDOWS )
238+ use_syslog = (not on_windows () )
239239 # Internal state.
240240 selected_locations = []
241241 # Parse the command line arguments.
You can’t perform that action at this time.
0 commit comments