Explorar o código

Use OS file separator

Change-Id: I46b15bc1c1b4f2300a6fd98fe16c755da4910e7a
Renaud Paquay %!s(int64=9) %!d(string=hai) anos
pai
achega
6a470be220
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      manifest_xml.py

+ 1 - 1
manifest_xml.py

@@ -164,7 +164,7 @@ class XmlManifest(object):
     try:
       if os.path.lexists(self.manifestFile):
         os.remove(self.manifestFile)
-      os.symlink('manifests/%s' % name, self.manifestFile)
+      os.symlink(os.path.join('manifests', name), self.manifestFile)
     except OSError as e:
       raise ManifestParseError('cannot link manifest %s: %s' % (name, str(e)))