Ignore:
Timestamp:
Sep 21, 2017, 2:55:48 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, debian/jessie
Children:
36a36bf
Parents:
6b3dd00 (diff), e561143 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into debian/jessie

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/python/bin/gnuboat-splashscreen

    r6b3dd00 r20d6392  
    3939
    4040def usage():
    41     print "Usage of gnuboat-splashscreen:"
    42     print "  gnuboat-splashscreen [-h] -i PATH_TO_IMAGE_TO_DISPLAY"
    43     print ""
    44     print "  -h --help    Print this help"
    45     print "  -i --image   Path to the image, which should be displayed"
     41    print("Usage of gnuboat-splashscreen:")
     42    print("  gnuboat-splashscreen [-h] -i PATH_TO_IMAGE_TO_DISPLAY")
     43    print("")
     44    print("  -h --help    Print this help")
     45    print("  -i --image   Path to the image, which should be displayed")
    4646    sys.exit()
    4747
    … …  
    6565
    6666    if not os.path.exists(image):
    67         print "Image %s not found" % image
    68         print ""
     67        print("Image {} not found".format(image))
    6968        usage()
    7069        sys.exit(2)
    7170
    7271    if not epdEnabled:
    73         print "Could not initialize EPD or PIL python packages"
     72        print("Could not initialize EPD or PIL python packages")
    7473        sys.exit(2)
    7574
Note: See TracChangeset for help on using the changeset viewer.