Merged revisions 80218 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80218 | tarek.ziade | 2010-04-19 23:13:03 +0200 (Mon, 19 Apr 2010) | 1 line

  few pep8 fixes
........
This commit is contained in:
Tarek Ziadé 2010-04-19 21:19:57 +00:00
parent 7afbcc0f63
commit 1eab9ccd0d
1 changed files with 3 additions and 2 deletions

View File

@ -109,7 +109,8 @@ def copystat(src, dst):
try: try:
os.chflags(dst, st.st_flags) os.chflags(dst, st.st_flags)
except OSError as why: except OSError as why:
if not hasattr(errno, 'EOPNOTSUPP') or why.errno != errno.EOPNOTSUPP: if (not hasattr(errno, 'EOPNOTSUPP') or
why.errno != errno.EOPNOTSUPP):
raise raise
def copy(src, dst): def copy(src, dst):