Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
weboob
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
174
Issues
174
List
Boards
Labels
Milestones
Merge Requests
48
Merge Requests
48
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
weboob
weboob
Commits
7b535833
Commit
7b535833
authored
Mar 25, 2013
by
Laurent Bachelier
🐧
Committed by
Florent Fourcot
Mar 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix local_run with empty localconfig
parent
ebb3bd8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
.gitignore
.gitignore
+1
-0
tools/local_run.py
tools/local_run.py
+2
-1
No files found.
.gitignore
View file @
7b535833
...
...
@@ -9,3 +9,4 @@ dist
tags
docs/source/api
modules/modules.list
/localconfig
tools/local_run.py
View file @
7b535833
...
...
@@ -15,7 +15,7 @@ else:
project
=
os
.
path
.
abspath
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
os
.
path
.
pardir
))
wd
=
os
.
path
.
join
(
project
,
'localconfig'
)
if
not
os
.
path
.
isdir
(
wd
):
os
.
path
.
makedirs
(
wd
)
os
.
makedirs
(
wd
)
env
=
os
.
environ
.
copy
()
env
[
'PYTHONPATH'
]
=
project
...
...
@@ -24,6 +24,7 @@ env['WEBOOB_WORKDIR'] = wd
shutil
.
copyfile
(
os
.
path
.
expanduser
(
'~/.config/weboob/backends'
),
os
.
path
.
join
(
project
,
wd
,
'backends'
))
os
.
chmod
(
os
.
path
.
join
(
project
,
wd
,
'backends'
),
0600
)
with
open
(
os
.
path
.
join
(
wd
,
'sources.list'
),
'w'
)
as
f
:
f
.
write
(
"file://
%
s
\n
"
%
os
.
path
.
join
(
project
,
'modules'
))
...
...
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