def print_reminder(self, dry_run, ndevice, diff_dir):
        contents = open(config.REMINDER_PATH, 'r').read()
        reminders = json.loads(contents)
        reminder_map = reminders['reminder_msg']

        print('')
        self.yellow('=' * 80 % '%s')
        self.yellow('%30s%s%30s' % (' ', 'Friendly Reminder', ' '))

        for color, rm_list in reminder_map.iteritems():
            f = getattr(self, color, None)
            if f:
                for msg in rm_list:
                    f('- %s ' % msg)

        if not dry_run:
            self.red('\n- This is NOT DRY_RUN! (%d devices, diff_dir=%s)' % (
                ndevice, diff_dir))
        else:
            print('\n- This is DRY_RUN. (%d devices, diff_dir=%s)' % (
                ndevice, diff_dir))
        self.yellow('%s' % '=' * 80)
dataset/ETHPy150Open facebook/fbpush/fbpush/main.py/PrintReminder.print_reminder/swapped operands of `%`