@CommandHelp(
        'Select list of cluster snapshots (collectinfos) in specific time range.',
        '  Options:',
        '    -y     - Expected year of snapshot. Formats: \'2015\', \'2011-2015\' or \'2011,2013,2015\'',
        '    -m     - Expected month of snapshot. Formats: \'10\', \'5-10\' or \'1,6,12\'',
        '    -d     - Expected date of snapshot. Formats: \'27\', \'20-25\' or \'11,13,29\'',
        '    -hh    - Expected hour value of snapshot. Formats: \'15\', \'1-8\' or \'11,22\'',
        '    -mm    - Expected minute value of snapshot. Formats: \'55\', \'30-55\' or \'1,4,45\'',
        '    -ss    - Expected second value of snapshot. Formats: \'43\', \'3-23\' or \'6,8,58\'')
    def do_time(self, line):
        tline = line[:]
        year = ""
        month = ""
        date = ""
        hr = ""
        minutes = ""
        sec = ""

        while tline:
            word = tline.pop(0)
            if word == '-y':
                year = tline.pop(0)
                year = strip_string(year)
            elif word == '-m':
                month = tline.pop(0)
                month = strip_string(month)
            elif word == '-d':
                date = tline.pop(0)
                date = strip_string(date)
            elif word == '-hh':
                hr = tline.pop(0)
                hr = strip_string(hr)
            elif word == '-mm':
                minutes = tline.pop(0)
                minutes = strip_string(minutes)
            elif word == '-ss':
                sec = tline.pop(0)
                sec = strip_string(sec)
            else:
                raise ShellException(
                    (word, " ".join(line)) % "Do not understand '%s' in '%s'")
        self.logger.select_cluster_snapshots(
            year,
            month,
            date,
            hr,
            minutes,
            sec)
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/SelectController.do_time/swapped operands of `%`