code: def _list_packages(self, args):
          '''
          List files for an installed package
          '''
          packages = self._pkgdb_fun('list_packages', self.db_conn)
          for package in packages:
              if self.opts['verbose']:
                  status_msg = ','.join(package)
              else:
                  status_msg = package[0]
              self.ui.status(status_msgf _list_packages(self, args):
          '''
          List files for an installed package
          '''
          packages = self._pkgdb_fun('list_packages', self.db_conn)
          for package in packages:
              if self.opts['verbose']:
                  status_msg = ','.join(package)
              else:
                  status_msg = package[0]
              self.ui.status(status_msg)
docs: List files for an installed package