Skip to content

Commit

Permalink
Merge pull request Katello#18 from tstrachota/printer_fix
Browse files Browse the repository at this point in the history
cli - fixed wrong formatters used for product and repo last sync time
  • Loading branch information
Petr Chalupa committed Apr 19, 2012
2 parents 37f0e5a + bb6dd5f commit cb1f6d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/katello/client/core/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def run(self):
self.printer.add_column('provider_id')
self.printer.add_column('provider_name')
self.printer.add_column('sync_plan_name')
self.printer.add_column('last_sync', formatter=format_date)
self.printer.add_column('last_sync', formatter=format_sync_time)
self.printer.add_column('gpg_key_name', name=_("GPG key"))

if prov_name:
Expand Down
2 changes: 1 addition & 1 deletion cli/src/katello/client/core/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def run(self):
self.printer.add_column('id')
self.printer.add_column('name')
self.printer.add_column('package_count')
self.printer.add_column('last_sync', formatter=format_date)
self.printer.add_column('last_sync', formatter=format_sync_time)

if prodName and envName:
env = get_environment(orgName, envName)
Expand Down

0 comments on commit cb1f6d5

Please sign in to comment.