From 1d3e452bd2e38add5155985cdebeec67d244fbab Mon Sep 17 00:00:00 2001 From: ConstantConstantin Date: Fri, 12 Apr 2024 15:13:21 +0200 Subject: [PATCH] changing dict.iteritems() to python3 method --- src/genjava/gradle_project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/genjava/gradle_project.py b/src/genjava/gradle_project.py index 250a594..0b68a71 100644 --- a/src/genjava/gradle_project.py +++ b/src/genjava/gradle_project.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 ############################################################################## # Imports @@ -79,7 +79,7 @@ def get_templates(): def populate_project(project_name, project_version, pkg_directory, gradle_project_dir, msg_dependencies): author = author_name() - for filename, template in get_templates().iteritems(): + for filename, template in get_templates().items(): contents = instantiate_genjava_template(template, project_name, project_version, pkg_directory, author, msg_dependencies) try: p = os.path.abspath(os.path.join(gradle_project_dir, filename))