~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to bin/ivle-config

  • Committer: David Coles
  • Date: 2009-12-09 01:14:51 UTC
  • Revision ID: coles.david@gmail.com-20091209011451-w24f3zkdubh0nl5d
Fix ivle-config's (broken) use of the depricated string module

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
 
279
279
    optnames = []
280
280
    for opt in config_options:
 
281
        print opt.option_name
281
282
        optnames.append(opt.option_name + "=")
282
283
    (opts, args) = getopt.gnu_getopt(args, "", optnames)
283
284
 
284
285
    if args != []:
285
 
        print >>sys.stderr, "Invalid arguments:", string.join(args, ' ')
 
286
        print >>sys.stderr, "Invalid arguments:", ' '.join(args)
286
287
        return 2
287
288
 
288
289
    if opts == []: