diff options
author | Neil Williams <codehelp@debian.org> | 2016-01-15 10:33:27 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2016-01-15 10:33:27 +0000 |
commit | 57f49749e623b4b052dad01180d49cd1b8006558 (patch) | |
tree | 6c7f7428cfa74d04bb4ae031102a6a83c1d4139b /bin | |
parent | e64e9719e01369a4761eb0112bec5790010d3735 (diff) | |
download | vmdebootstrap-57f49749e623b4b052dad01180d49cd1b8006558.tar.gz |
initial 2to3 compat changes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/vmdebootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index af9b0f6..dc76693 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -135,7 +135,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth def process_args(self, args): # pylint: disable=too-many-branches,too-many-statements - for _, handler in self.handlers.items(): + for _, handler in list(self.handlers.items()): handler.define_settings(self.settings) distro = self.handlers[Codenames.name] @@ -180,7 +180,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth self.include = self._bootstrap_packages() if self.settings['dry-run']: - print "Selected packages: ", ', '.join(self.include) + print("Selected packages: ", ', '.join(self.include)) sys.exit(0) if os.geteuid() != 0: sys.exit("You need to have root privileges to run this script.") |