Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
662af1a9
Commit
662af1a9
authored
Oct 25, 2013
by
Luke Campagnola
Browse files
ignore test directories in top-level __init__ imports
parent
84a84518
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyqtgraph/__init__.py
View file @
662af1a9
...
@@ -139,7 +139,7 @@ def importModules(path, globals, locals, excludes=()):
...
@@ -139,7 +139,7 @@ def importModules(path, globals, locals, excludes=()):
d
=
os
.
path
.
join
(
os
.
path
.
split
(
globals
[
'__file__'
])[
0
],
path
)
d
=
os
.
path
.
join
(
os
.
path
.
split
(
globals
[
'__file__'
])[
0
],
path
)
files
=
set
()
files
=
set
()
for
f
in
frozenSupport
.
listdir
(
d
):
for
f
in
frozenSupport
.
listdir
(
d
):
if
frozenSupport
.
isdir
(
os
.
path
.
join
(
d
,
f
))
and
f
!=
'__pycache__'
:
if
frozenSupport
.
isdir
(
os
.
path
.
join
(
d
,
f
))
and
f
not
in
[
'__pycache__'
,
'tests'
]
:
files
.
add
(
f
)
files
.
add
(
f
)
elif
f
[
-
3
:]
==
'.py'
and
f
!=
'__init__.py'
:
elif
f
[
-
3
:]
==
'.py'
and
f
!=
'__init__.py'
:
files
.
add
(
f
[:
-
3
])
files
.
add
(
f
[:
-
3
])
...
...
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