Increase verbosity
This commit is contained in:
parent
9ce2a31fca
commit
7c7cb2f93a
@ -241,10 +241,14 @@ class GitMIDI(MIDIFile):
|
|||||||
commit_count = len(commits_to_process)
|
commit_count = len(commits_to_process)
|
||||||
|
|
||||||
for commit in commits_to_process:
|
for commit in commits_to_process:
|
||||||
if callback:
|
|
||||||
current_commit += 1
|
current_commit += 1
|
||||||
|
|
||||||
|
if callback:
|
||||||
callback(commit_count, current_commit)
|
callback(commit_count, current_commit)
|
||||||
|
|
||||||
|
if self.__verbose:
|
||||||
|
print("{}/{}".format(current_commit, commit_count))
|
||||||
|
|
||||||
self.__git_log.append(self.gen_beat(commit))
|
self.__git_log.append(self.gen_beat(commit))
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -302,6 +306,9 @@ class GitMIDI(MIDIFile):
|
|||||||
if callback is not None:
|
if callback is not None:
|
||||||
callback(log_length, current)
|
callback(log_length, current)
|
||||||
|
|
||||||
|
if self.__verbose:
|
||||||
|
print("{}/{}".format(current, log_length))
|
||||||
|
|
||||||
# Add a long note
|
# Add a long note
|
||||||
if self.__need_commits:
|
if self.__need_commits:
|
||||||
self.addNote(track, log_channel,
|
self.addNote(track, log_channel,
|
||||||
|
Loading…
Reference in New Issue
Block a user