def handle_noargs(self, **options):
        if options['time']:
            start_time = datetime.datetime.now()

        response = urllib2.urlopen(urllib2.Request(url=GEONAMES_DUMPS_URL))
        files = re.findall(r'\<a href="(.+\.(?:txt|zip))"\>', response.read())
        for file in files:

            if options['country'] and file != '%s.zip' % options['country'] \
                or options['no_geonames'] and file == 'allCountries.zip' \
                or options['no_alternates'] and file == 'alternateNames.zip' \
                or not options['country'] and len(file) == 6:
                    continue

            print file % '\nStart download "%s" file'
            download(urlparse.urljoin(GEONAMES_DUMPS_URL, file), os.path.join(GEONAMES_DATA, file))

        if options['time']:
            print '\nCompleted in %s' % (datetime.datetime.now() - start_time)
dataset/ETHPy150Open ramusus/django-geonames/geonames/management/commands/download_geonames.py/Command.handle_noargs/swapped operands of `%`