summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
11fb6d1)
The os.errno module has not been an official feature. Python 3.7
removed the corresponding import. This broke the installation of
decoders. Prefer 'errno' over 'os.errno'.
## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
import os
import sys
from shutil import copy
import os
import sys
from shutil import copy
try:
os.mkdir(pd_dst)
except OSError as e:
try:
os.mkdir(pd_dst)
except OSError as e:
- if e.errno != os.errno.EEXIST:
+ if e.errno != errno.EEXIST: