mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Use OS-agnostic filesystem paths in Python
This will eventually need to be done for #1908
This commit is contained in:
parent
ca36779a7e
commit
244af42d89
4 changed files with 26 additions and 26 deletions
|
@ -6,9 +6,9 @@
|
|||
# and generate information for subsequent phases.
|
||||
|
||||
import sys
|
||||
sys.path.append("./parser/")
|
||||
sys.path.append("./ply/")
|
||||
import os
|
||||
sys.path.append(os.path.join(".", "parser"))
|
||||
sys.path.append(os.path.join(".", "ply"))
|
||||
import WebIDL
|
||||
import cPickle
|
||||
from Configuration import Configuration
|
||||
|
@ -66,7 +66,7 @@ def main():
|
|||
('RegisterBindings', 'RegisterBindings.rs'),
|
||||
('InterfaceTypes', 'InterfaceTypes.rs'),
|
||||
('InheritTypes', 'InheritTypes.rs'),
|
||||
('Bindings', 'Bindings/mod.rs'),
|
||||
('Bindings', os.path.join('Bindings', 'mod.rs')),
|
||||
('UnionTypes', 'UnionTypes.rs'),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue