diff options
| author | Christian Heimes <cheimes@redhat.com> | 2016-11-17 17:48:06 +0100 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-11-24 16:35:43 +0100 |
| commit | a8376a244758494db31341442bc2163e1807b7ac (patch) | |
| tree | 4661dc8c4d334e9d3c5e848392cc1c40b1e8c1f4 /install/share | |
| parent | 6409abf1a60f3548203e6607a2b157ff72af2c89 (diff) | |
| download | freeipa-a8376a244758494db31341442bc2163e1807b7ac.tar.gz freeipa-a8376a244758494db31341442bc2163e1807b7ac.tar.xz freeipa-a8376a244758494db31341442bc2163e1807b7ac.zip | |
Add main guards to a couple of Python scripts
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'install/share')
| -rwxr-xr-x | install/share/copy-schema-to-ca.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/share/copy-schema-to-ca.py b/install/share/copy-schema-to-ca.py index a6d09ecb1..9edc0cd08 100755 --- a/install/share/copy-schema-to-ca.py +++ b/install/share/copy-schema-to-ca.py @@ -121,4 +121,5 @@ def main(): root_logger.info('Schema updated successfully') -main() +if __name__ == '__main__': + main() |
