use project and report summary only once
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
29fbda012f
commit
2de8525bab
1 changed files with 1 additions and 2 deletions
|
@ -63,7 +63,7 @@ class Report(object):
|
||||||
projects=ctt.listprojects.ListProjects.list_projects()
|
projects=ctt.listprojects.ListProjects.list_projects()
|
||||||
|
|
||||||
else:
|
else:
|
||||||
projects=[args.projects[0]]
|
projects=[args.project[0]]
|
||||||
|
|
||||||
total_time = 0
|
total_time = 0
|
||||||
for project in projects:
|
for project in projects:
|
||||||
|
@ -148,7 +148,6 @@ class Report(object):
|
||||||
def report(self):
|
def report(self):
|
||||||
self.header()
|
self.header()
|
||||||
self.list_entries()
|
self.list_entries()
|
||||||
self.summary(self.total_time)
|
|
||||||
|
|
||||||
def header(self):
|
def header(self):
|
||||||
print("Report for %s between %s and %s" %
|
print("Report for %s between %s and %s" %
|
||||||
|
|
Loading…
Reference in a new issue