Skip to content

Commit

Permalink
removed unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikVE committed Feb 17, 2018
1 parent 149dad2 commit 0004da6
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/native-messaging-host/rapstore_nmh.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def start_flash_process(message, development):

if not verified:
# maybe unauthorized access via extension, so ignore
logging.debug('unauthorized access denied')
logging.warning('unauthorized access denied')
return

# unwrap message from website
Expand Down Expand Up @@ -94,8 +94,6 @@ def start_flash_process(message, development):
inner_command = './flash {0} {1} {2} && touch {3}'.format(board, path_to_makefile, int(development),
file_to_look_at.replace(' ', '\ '))

logging.debug(inner_command)

Popen(['x-terminal-emulator', '-e', 'bash -c "{}"'.format(inner_command)])

while not os.path.exists(file_to_look_at):
Expand All @@ -112,14 +110,9 @@ def main(calling_extension):

development = False

logging.debug(CHROME_EXTENSION_ID_DEVELOPMENT)
logging.debug(calling_extension)

if CHROME_EXTENSION_ID_DEVELOPMENT in calling_extension:
development = True

logging.debug(development)

action_dict = {
'rapstore_test_connection_native_messaging_host': test_connection_native_messaging_host,
'rapstore_install_image': start_flash_process,
Expand Down

0 comments on commit 0004da6

Please sign in to comment.