. . . File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/db.py", line 242, in layman.db.RemoteDB.cache Failed example: b.close() Exception raised: Traceback (most recent call last): File "/usr/lib/python2.4/doctest.py", line 1243, in __run compileflags, 1) in test.globs File "<doctest layman.db.RemoteDB.cache[7]>", line 1, in ? b.close() NameError: name 'b' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/db.py", line 243, in layman.db.RemoteDB.cache Failed example: os.unlink(a.path(config['overlays'])) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.4/doctest.py", line 1243, in __run compileflags, 1) in test.globs File "<doctest layman.db.RemoteDB.cache[8]>", line 1, in ? os.unlink(a.path(config['overlays'])) NameError: name 'a' is not defined ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/db.py", line 245, in layman.db.RemoteDB.cache Failed example: a.overlays.keys() Exception raised: Traceback (most recent call last): File "/usr/lib/python2.4/doctest.py", line 1243, in __run compileflags, 1) in test.globs File "<doctest layman.db.RemoteDB.cache[9]>", line 1, in ? a.overlays.keys() NameError: name 'a' is not defined ====================================================================== FAIL: Doctest: layman.overlays.tar.TarOverlay ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/doctest.py", line 2152, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for layman.overlays.tar.TarOverlay File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py", line 38, in TarOverlay ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py", line 56, in layman.overlays.tar.TarOverlay Failed example: a.add(testdir) #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python2.4/doctest.py", line 1243, in __run compileflags, 1) in test.globs File "<doctest layman.overlays.tar.TarOverlay[6]>", line 1, in ? a.add(testdir) #doctest: +ELLIPSIS File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py", line 140, in add result = self.cmd(self.binary + ' -v -x ' + opt + ' -f "' + pkg File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/overlay.py", line 150, in cmd if not self.quiet: AttributeError: DummyTar instance has no attribute 'quiet' ---------------------------------------------------------------------- File "/var/tmp/portage/app-portage/layman-1.0.9/work/layman-1.0.9/layman/overlays/tar.py", line 58, in layman.overlays.tar.TarOverlay Failed example: sorted(os.listdir(testdir + '/dummy')) Exception raised: Traceback (most recent call last): File "/usr/lib/python2.4/doctest.py", line 1243, in __run compileflags, 1) in test.globs File "<doctest layman.overlays.tar.TarOverlay[7]>", line 1, in ? sorted(os.listdir(testdir + '/dummy')) OSError: [Errno 2] No such file or directory: '/tmp/fileXPcv6W/dummy' ---------------------------------------------------------------------- Ran 23 tests in 0.560s FAILED (failures=12)
Sorry, I got lazy :) Will be fixed in the next release. Thanks for the report!
Fixed in layman-1.0.10