projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0523196
)
portage.debug: handle threading ImportError
author
Zac Medico
<zmedico@gentoo.org>
Tue, 8 Feb 2011 09:32:09 +0000
(
01:32
-0800)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 8 Feb 2011 20:45:45 +0000
(12:45 -0800)
pym/portage/debug.py
patch
|
blob
|
history
diff --git
a/pym/portage/debug.py
b/pym/portage/debug.py
index e18d02cf734e730107f226ccac8753a8d2f14060..ce642fef65a9d1975d5df2566cc956e3654d1971 100644
(file)
--- a/
pym/portage/debug.py
+++ b/
pym/portage/debug.py
@@
-1,7
+1,13
@@
-# Copyright 1999-20
09
Gentoo Foundation
+# Copyright 1999-20
11
Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-import os, sys, threading
+import os
+import sys
+
+try:
+ import threading
+except ImportError:
+ import dummy_threading as threading
import portage.const
from portage.util import writemsg