diff -ur smolt-1.3.2.orig/client/sendProfile.py smolt-1.3.2/client/sendProfile.py --- smolt-1.3.2.orig/client/sendProfile.py 2009-07-29 03:22:56.000000000 +0200 +++ smolt-1.3.2/client/sendProfile.py 2009-08-27 21:31:36.000000000 +0200 @@ -89,11 +89,6 @@ type = 'float', default = smolt.timeout, help = _('specify HTTP timeout in seconds (default %default seconds)')) -parser.add_option('-c', '--checkin', - dest = 'checkin', - default = False, - action = 'store_true', - help = _('this is an automated checkin, will only run if the "smolt" service has been started')) parser.add_option('-S', '--scanOnly', dest = 'scanOnly', default = False, @@ -136,14 +131,6 @@ else: proxies = {'http':opts.httpproxy} -if opts.checkin and os.path.exists('/var/lock/subsys/smolt'): - # Smolt is set to run - opts.autoSend = True -elif opts.checkin: - # Tried to check in but checkins are disabled - print _('Smolt set to checkin but checkins are disabled (hint: service smolt start)') - sys.exit(6) - # read the profile profile = smolt.get_profile() @@ -207,7 +194,7 @@ if profile.register(userName=opts.userName, password=password, user_agent=opts.user_agent, smoonURL=opts.smoonURL, timeout=opts.timeout): print _('Registration Failed, Try again') -if not opts.submitOnly and not opts.checkin: +if not opts.submitOnly: scan(profile, opts.smoonURL) try: rating(profile, opts.smoonURL)