code: def path(self, which=None):
          
          if which in (
                  'errata',
                  'files',
                  'packages',
                  'module_streams',
                  'puppet_modules',
                  'remove_content',
                  'sync',
                  'import_uploads',
                  'upload_content'):
              return '{0}/{1}'.format(
                  super(Repository, self).path(which='self'),
                  which
              )
          return super(Repository, self).path(which)
docs: Extend ``nailgun.entity_mixins.Entity.path``.
  
          The format of the returned path depends on the value of ``which``:
  
          errata
              /repositories/<id>/errata
          files
              /repositories/<id>/files
          packages
              /repositories/<id>/packages
          module_streams
              /repositories/<id>/module_streams
          puppet_modules
              /repositories/<id>/puppet_modules
          remove_content
              /repositories/<id>/remove_content
          sync
              /repositories/<id>/sync
          upload_content
              /repositories/<id>/upload_content
          import_uploads
              /repositories/<id>/import_uploads
  
          ``super`` is called otherwise.