ccpgames/replace_get_start_service

Name: replace_get_start_service

Owner: CCP Games

Description: Python script for replacing Get/Start Service calls.

Created: 2017-02-02 10:04:52.0

Updated: 2017-02-02 10:12:14.0

Pushed: 2017-02-02 10:10:38.0

Homepage: null

Size: 1

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

replace_get_start_service

Python script for replacing Get/Start Service calls.

Replaces sm.GetService(““) and sm.StartService(““) calls with GetService and StartService calls, adding the necessary import at the top.

The script scans for all .py files in the current working directory and its subdirectories. If calls p4 edit for any file it needs to change.

The script takes one argument - the name of the service to look for.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.