Skip to content

Commit

Permalink
change print per logging.info in registry
Browse files Browse the repository at this point in the history
  • Loading branch information
DamnWidget committed Aug 28, 2014
1 parent ac5d591 commit 3225a9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion anaconda_server/lib/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import os
import sys
import logging


class HandlerRegistry(object):
Expand Down Expand Up @@ -54,4 +55,6 @@ def _import_plugin_handlers(self):
sys.path.append('{}/plugin'.format(package))
mod_name = 'handlers_{}'.format(lang)
mod = __import__(mod_name, globals(), locals())
print('[anaconda_plugins] imported handlers for {}'.format(mod))
logging.info(
'[anaconda_plugins] imported handlers for {}'.format(mod)
)

0 comments on commit 3225a9a

Please sign in to comment.