Skip to content

Commit

Permalink
Indicate target on run
Browse files Browse the repository at this point in the history
  • Loading branch information
hevp committed Oct 11, 2019
1 parent 9fcc606 commit 32d18f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repository-download.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ def setOptions(self, options):
except Exception as e:
self.options.update({k: v})

debug("target: %s" % self.options['target'])

def downloadObjectList(self):
if self.options['source'] not in VALID_SOURCES:
error("invalid source '%s'" % self.options['source'])
message("Downloading your %s" % self.options['source'])
message("Downloading your %s from %s" % (self.options['source'], self.options['target']))

data = self._requestAuthenticated('GET', "%s/%s" % (TDR_API, self.options['source']))
self.objects = data['result']
Expand Down

0 comments on commit 32d18f7

Please sign in to comment.