Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
f9fe750a
Commit
f9fe750a
authored
Nov 22, 2007
by
Michael Hanselmann
Browse files
List loading hooks in QA.
Reviewed-by: schreiberal
parent
8bb7c6cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
qa/qa_utils.py
View file @
f9fe750a
...
...
@@ -232,6 +232,7 @@ def LoadHooks():
for
name
in
utils
.
ListVisibleFiles
(
hooks_dir
):
if
name
.
endswith
(
'.py'
):
# Load and instanciate hook
print
"Loading hook %s"
%
name
_hooks
.
append
(
__import__
(
name
[:
-
3
],
None
,
None
,
[
''
]).
hook
())
...
...
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