diff options
author | Michal Minar <miminar@redhat.com> | 2013-03-21 16:41:18 +0100 |
---|---|---|
committer | Michal Minar <miminar@redhat.com> | 2013-03-21 18:07:08 +0100 |
commit | 1c9627272440844c726052dc53900ecfe544d598 (patch) | |
tree | 23c1d9fe487998cc06e47cb4314cba87b186ff69 /src/software/openlmi/software/yumdb/__init__.py | |
parent | c110c6309306b3208eb1c3dabfb0d9d860d06b9a (diff) | |
download | openlmi-providers-1c9627272440844c726052dc53900ecfe544d598.tar.gz openlmi-providers-1c9627272440844c726052dc53900ecfe544d598.tar.xz openlmi-providers-1c9627272440844c726052dc53900ecfe544d598.zip |
various enhancements
consistent access to Package's version and release attributes
- all 'ver' and 'rel' replaced to full names
added tracing decorators to some functions
providers having Values class under core subpackage now reference it
with self.values property
Identity.pkg2model now accepts also nevra as string
removed tabs in source code
Diffstat (limited to 'src/software/openlmi/software/yumdb/__init__.py')
-rw-r--r-- | src/software/openlmi/software/yumdb/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/software/openlmi/software/yumdb/__init__.py b/src/software/openlmi/software/yumdb/__init__.py index 13539bb..b5160b4 100644 --- a/src/software/openlmi/software/yumdb/__init__.py +++ b/src/software/openlmi/software/yumdb/__init__.py @@ -275,7 +275,7 @@ class YumDB(singletonmixin.Singleton): 'level=%d', self._session_level) new_session_job = jobs.YumBeginSession() self._worker.uplink.put(new_session_job) - (_, reply) = self._worker.downlink.get() + reply = self._worker.downlink.get() log_reply_error(new_session_job, reply) self._worker.uplink.put(job) self._expected.append(job.jobid) @@ -381,8 +381,8 @@ class YumDB(singletonmixin.Singleton): uplink = Queue() downlink = Queue() self._process = YumWorker(uplink, downlink, - yum_kwargs=self._yum_kwargs, - logging_config=YUM_WORKER_DEBUG_LOGGING_CONFIG) + yum_kwargs=self._yum_kwargs) + #logging_config=YUM_WORKER_DEBUG_LOGGING_CONFIG) self._process.start() cmpi_logging.logger.trace_info( "YumDB: YumWorker started with pid=%s", self._process.pid) |