[xb] Remove whitespace
This commit is contained in:
parent
0a662afd73
commit
4f020e32c8
10
xenia-build
10
xenia-build
|
@ -294,7 +294,7 @@ def generate_source_class(path):
|
||||||
# remove header if source file generation failed
|
# remove header if source file generation failed
|
||||||
os.remove(os.path.join(source_root, header_path))
|
os.remove(os.path.join(source_root, header_path))
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def generate_source_file(path):
|
def generate_source_file(path):
|
||||||
|
@ -318,10 +318,10 @@ def generate_source_file(path):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('ERROR: Could not write to file [path {}]'.format(path))
|
print('ERROR: Could not write to file [path {}]'.format(path))
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def git_get_head_info():
|
def git_get_head_info():
|
||||||
"""Queries the current branch and commit checksum from git.
|
"""Queries the current branch and commit checksum from git.
|
||||||
|
@ -1623,7 +1623,7 @@ class StubCommand(Command):
|
||||||
status = generate_source_class(path)
|
status = generate_source_class(path)
|
||||||
if status > 0:
|
if status > 0:
|
||||||
return status
|
return status
|
||||||
|
|
||||||
print('Created class \'{0}\' at {1}'.format(class_name, target_dir))
|
print('Created class \'{0}\' at {1}'.format(class_name, target_dir))
|
||||||
|
|
||||||
elif args['file']:
|
elif args['file']:
|
||||||
|
@ -1634,7 +1634,7 @@ class StubCommand(Command):
|
||||||
status = generate_source_file(path)
|
status = generate_source_file(path)
|
||||||
if status > 0:
|
if status > 0:
|
||||||
return status
|
return status
|
||||||
|
|
||||||
print('Created file \'{0}\' at {1}'.format(file_name, target_dir))
|
print('Created file \'{0}\' at {1}'.format(file_name, target_dir))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue