From: Ross Jones Date: Wed, 10 Oct 2012 14:13:27 +0000 Subject: Removed some unused commented out code X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=b6aa7a800327b578e00054ecdcff2ccb705c8c86 --- Removed some unused commented out code --- --- a/ckanext/ga_report/tests/test_api.py +++ b/ckanext/ga_report/tests/test_api.py @@ -36,16 +36,3 @@ except Exception as e: assert False, e -""" - downloader = DownloadAnalytics(svc, profile_id=get_profile_id(svc)) - - time_period = self.args[1] if self.args and len(self.args) > 1 \ - else 'latest' - if time_period == 'all': - downloader.all_() - elif time_period == 'latest': - downloader.latest() - else: - since_date = datetime.datetime.strptime(time_period, '%Y-%m-%d') - downloader.since_date(since_date) -"""