Reverting r15293, it was actually not needed. (trunk r15298)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 19:50:48 +0000 (19:50 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 19:50:48 +0000 (19:50 -0000)
svn path=/main/branches/2.1.7/; revision=15537

pym/portage/cache/fs_template.py

index 9ca0c9dc250bb2c25973da40a2940d57a7f5545c..7cd8af4d7c220999148a7ddd274f93e012546b9b 100644 (file)
@@ -72,7 +72,7 @@ class FsBased(template.database):
                                        if perms == -1:
                                                perms = 0
                                        perms |= 0o755
-                                       os.makedirs(base, perms)
+                                       os.mkdir(base, perms)
                                        if self._gid != -1:
                                                os.chown(base, -1, self._gid)
                                finally: