Skip to content

Commit 1d3e452

Browse files
changing dict.iteritems() to python3 method
1 parent ebd6101 commit 1d3e452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/genjava/gradle_project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
##############################################################################
44
# Imports
@@ -79,7 +79,7 @@ def get_templates():
7979

8080
def populate_project(project_name, project_version, pkg_directory, gradle_project_dir, msg_dependencies):
8181
author = author_name()
82-
for filename, template in get_templates().iteritems():
82+
for filename, template in get_templates().items():
8383
contents = instantiate_genjava_template(template, project_name, project_version, pkg_directory, author, msg_dependencies)
8484
try:
8585
p = os.path.abspath(os.path.join(gradle_project_dir, filename))

0 commit comments

Comments
 (0)