@expose(hide=True)
    def default(self):
        """
        This command will be shared within all controllers that sub-class
        from here.  It can also be overridden in the sub-class, but for
        this example we are making it dynamic.

        """
        # do something with self.my_shared_obj here?
        if 'some_key' in self.reusable_dict.keys():
            pass

        # or do something with parsed args?
        if self.app.pargs.foo:
            print "Foo option was passed with value: %s" % self.app.pargs.foo

        # or maybe do something dynamically
        print(self.__class__.__name__ % "Inside %s.default()")
dataset/ETHPy150Open datafolklabs/cement/examples/abstract_base_controllers/myapp.py/AbstractBaseController.default/swapped operands of `%`