=== modified file 'dh_python2'
--- dh_python2	2011-06-01 20:39:57 +0000
+++ dh_python2	2011-06-10 04:27:45 +0000
@@ -358,6 +358,7 @@
                 if clean_name != name:
                     log.info('renaming %s to %s', name, clean_name)
                     os.rename(join(root, name), join(root, clean_name))
+                    dirs[dirs.index(name)] = clean_name
         if root.endswith('.egg-info'):
             if 'requires.txt' in file_names:
                 r['requires.txt'].add(join(root, 'requires.txt'))


