(self, *args)
Update the system's package lists (by running ``apt-get update``).

        :param args: Command line arguments to ``apt-get update`` (zero or more strings).

        The :func:`dumb_update()` method doesn't do any error handling or
        retrying, if that's what you're looking for then you need
        :func:`smart_update()` instead.
Update the system's package lists (by running ``apt-get update``).
Update the system s package lists ( by running apt - get update ) .
def dumb_update(self, *args):
        """
        Update the system's package lists (by running ``apt-get update``).

        :param args: Command line arguments to ``apt-get update`` (zero or more strings).

        The :func:`dumb_update()` method doesn't do any error handling or
        retrying, if that's what you're looking for then you need
        :func:`smart_update()` instead.
        """
        timer = Timer()
        logger.info("Updating package lists of %s ..", self.context)
        self.context.execute('apt-get', 'update', *args, sudo=True)
        logger.info("Finished updating package lists of %s in %s.", self.context, timer)
def dumb_update ( self , * args ) : timer = Timer ( ) logger . info ( "Updating package lists of %s .." , self . context ) self . context . execute ( 'apt-get' , 'update' , * args , sudo = True ) logger . info ( "Finished updating package lists of %s in %s." , self . context , timer )