summaryrefslogtreecommitdiff
path: root/writers/s5_html
diff options
context:
space:
mode:
authorstrank <strank@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2008-07-23 19:18:19 +0000
committerstrank <strank@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2008-07-23 19:18:19 +0000
commit909813ea5e93a2ce8809737f60791560b33c1e85 (patch)
tree8d6fc47c20f6d73499d1b8f1d0d7e4fd2deefdfc /writers/s5_html
parent537774fff163c1bbb528f4ac3c92ce42feacb33d (diff)
downloaddocutils-abolish-userstring.tar.gz
Replace all has_key with the in operator.abolish-userstring
git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/abolish-userstring@5607 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'writers/s5_html')
-rw-r--r--writers/s5_html/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/writers/s5_html/__init__.py b/writers/s5_html/__init__.py
index 486c03f4a..73a1ec66f 100644
--- a/writers/s5_html/__init__.py
+++ b/writers/s5_html/__init__.py
@@ -251,7 +251,7 @@ class S5HTMLTranslator(html4css1.HTMLTranslator):
"""
source = os.path.join(source_dir, name)
dest = os.path.join(dest_dir, name)
- if self.theme_files_copied.has_key(dest):
+ if dest in self.theme_files_copied:
return 1
else:
self.theme_files_copied[dest] = 1