Commits

Anonymous committed ee07772

Use os.environ[] instead of os.putenv(), as suggested by docs.

  • Participants
  • Parent commits 1c6b65a

Comments (0)

Files changed (1)

SmartLiveRebuild/core.py

 			if opts.erraneous_merge and len(erraneous) > 0:
 				out.s1('Merging update-failed packages, assuming --no-offline.')
 			else:
-				os.putenv('ESCM_OFFLINE', 'true')
+				os.environ['ESCM_OFFLINE'] = 'true'
 
 		if len(packages) < 1:
 			out.s1('No updates found')