Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
package_control_channel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
package_control_channel
Commits
9a8cec27
Commit
9a8cec27
authored
Jul 05, 2013
by
wbond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug with the migrator not creating the repository/ subfolder
parent
733d8898
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
migrator.py
utils/migrator.py
+4
-0
No files found.
utils/migrator.py
View file @
9a8cec27
import
json
import
re
import
os
from
collections
import
OrderedDict
from
urllib.request
import
urlopen
...
...
@@ -102,6 +103,9 @@ with open(old_repositories_json_path, encoding='utf-8') as of:
includes
=
[]
if
not
os
.
path
.
exists
(
new_repository_subfolder_path
):
os
.
mkdir
(
new_repository_subfolder_path
)
for
letter
in
names
:
include_path
=
'
%
s
%
s.json'
%
(
new_repository_subfolder_path
,
letter
)
includes
.
append
(
include_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment