@@ -34,7 +34,7 @@ def get_environment_variable(environ, key):
34
34
except KeyError :
35
35
pass
36
36
if var == '' :
37
- var = None
37
+ var = None
38
38
return var
39
39
40
40
if __name__ == '__main__' :
@@ -48,12 +48,12 @@ def get_environment_variable(environ, key):
48
48
else :
49
49
if repo in [os .path .join (w , 'share' , 'maven' ) for w in workspaces ]:
50
50
repo = os .path .join (workspaces [0 ], 'share' , 'maven' )
51
- print repo
51
+ print ( repo )
52
52
elif args .maven_repository :
53
53
repo = get_environment_variable (environment_variables , 'ROS_MAVEN_REPOSITORY' )
54
54
if repo is None :
55
55
repo = 'https://github.com/rosjava/rosjava_mvn_repo/raw/master'
56
- print repo
56
+ print ( repo )
57
57
elif args .maven_path :
58
58
new_maven_paths = [os .path .join (path , 'share' , 'maven' ) for path in workspaces ]
59
59
maven_paths = get_environment_variable (environment_variables , 'ROS_MAVEN_PATH' )
@@ -64,14 +64,14 @@ def get_environment_variable(environ, key):
64
64
common_paths = [p for p in maven_paths if p in new_maven_paths ]
65
65
if common_paths :
66
66
maven_paths = new_maven_paths
67
- print os .pathsep .join (maven_paths )
67
+ print ( os .pathsep .join (maven_paths ) )
68
68
elif args .gradle_user_home :
69
69
home = get_environment_variable (environment_variables , 'GRADLE_USER_HOME' )
70
70
if home is None :
71
71
home = os .path .join (workspaces [0 ], 'share' , 'gradle' )
72
72
else :
73
73
if home in [os .path .join (w , 'share' , 'gradle' ) for w in workspaces ]:
74
74
home = os .path .join (workspaces [0 ], 'share' , 'gradle' )
75
- print home
75
+ print ( home )
76
76
else :
77
- print "Nothing to see here - please provide one of the valid command switches."
77
+ print ( "Nothing to see here - please provide one of the valid command switches." )
0 commit comments