~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to install/update.py

  • Committer: Keith Hughitt
  • Date: 2012-04-23 18:45:32 UTC
  • mto: This revision was merged to the branch mainline in revision 732.
  • Revision ID: keith.hughitt@nasa.gov-20120423184532-qwf3dvx7t1gojrdc
Unified logging for installer, updater, and downloader

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
import os
16
16
import shutil
17
17
from shared.jp2 import find_images, process_jp2_images
 
18
from shared.util import init_logger
18
19
from shared.db  import get_db_cursor
19
20
from optparse import OptionParser, IndentedHelpFormatter
20
21
 
22
23
    '''Main application access point'''
23
24
    options = get_options()
24
25
    
 
26
    init_logger('update.log')
 
27
    
25
28
    print('Processing Images...')
26
29
    
27
30
    # Get a list of images to process