mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
name refactor to make more concise
This commit is contained in:
@ -155,7 +155,7 @@ def get_git_log(path):
|
||||
except subprocess.CalledProcessError as _e:
|
||||
print(_e)
|
||||
output = 5 * ['']
|
||||
return {'commit': output[0], 'author': output[1], 'mail': output[2], 'date': output[3], 'message': output[4]}
|
||||
return {'hash': output[0], 'author': output[1], 'mail': output[2], 'date': output[3], 'message': output[4]}
|
||||
|
||||
|
||||
class IntegrationPlugin(MixinBase, plugin.InvenTreePlugin):
|
||||
|
Reference in New Issue
Block a user