|
@@ -18,7 +18,10 @@ import time
|
|
|
import fnmatch
|
|
import fnmatch
|
|
|
import string
|
|
import string
|
|
|
import signal
|
|
import signal
|
|
|
-from libheapq import heappush, heappop, heapify
|
|
|
|
|
|
|
+try:
|
|
|
|
|
+ from libp3heapq import heappush, heappop, heapify
|
|
|
|
|
+except:
|
|
|
|
|
+ from libheapq import heappush, heappop, heapify
|
|
|
import types
|
|
import types
|
|
|
|
|
|
|
|
if __debug__:
|
|
if __debug__:
|