removing string module it is deprecated
This commit is contained in:
parent
6174a6cb51
commit
a7bf88e8f1
1 changed files with 1 additions and 2 deletions
|
@ -41,7 +41,6 @@ in this code
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
from string import join
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import types
|
import types
|
||||||
|
@ -204,7 +203,7 @@ class Debug:
|
||||||
mod_name = ""
|
mod_name = ""
|
||||||
self.show('Debug created for %s%s' % (caller.f_code.co_filename,
|
self.show('Debug created for %s%s' % (caller.f_code.co_filename,
|
||||||
mod_name ))
|
mod_name ))
|
||||||
self.show(' flags defined: %s' % join( self.active ))
|
self.show(' flags defined: %s' % ' '.join( self.active ))
|
||||||
|
|
||||||
if type(flag_show) in (type(''), type(None)):
|
if type(flag_show) in (type(''), type(None)):
|
||||||
self.flag_show = flag_show
|
self.flag_show = flag_show
|
||||||
|
|
Loading…
Add table
Reference in a new issue