SF.net SVN: gar:[23439] csw/mgar/gar/v2/lib/python/system_pkgmap.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Apr 20 17:53:03 CEST 2014


Revision: 23439
          http://sourceforge.net/p/gar/code/23439
Author:   wahwah
Date:     2014-04-20 15:53:02 +0000 (Sun, 20 Apr 2014)
Log Message:
-----------
pkgdb: Auth is needed when importing OS files

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/system_pkgmap.py

Modified: csw/mgar/gar/v2/lib/python/system_pkgmap.py
===================================================================
--- csw/mgar/gar/v2/lib/python/system_pkgmap.py	2014-04-20 15:52:52 UTC (rev 23438)
+++ csw/mgar/gar/v2/lib/python/system_pkgmap.py	2014-04-20 15:53:02 UTC (rev 23439)
@@ -462,9 +462,12 @@
     self.arch = arch
     self.pkginst_cache = {}
     config = configuration.GetConfig()
+    username, password = rest.GetUsernameAndPassword()
     self.rest_client = rest.RestClient(
         pkgdb_url=config.get('rest', 'pkgdb'),
         releases_url=config.get('rest', 'releases'),
+        username=username,
+        password=password,
         debug=debug)
 
   def _RemoveSystemPackagesFromCatalog(self, data):

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list