diff options
author | Rémy Oudompheng <remy@archlinux.org> | 2011-11-05 19:18:00 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-11-05 19:24:46 +0100 |
commit | e2efbc58d64c6202fcad66ebefd5dcdcb28f985a (patch) | |
tree | 4d2753525634de6b94e61489e00841672b50cea2 /db-move | |
parent | ef69c002a69e5d7983554b68d41f26e06ad8fb7c (diff) | |
download | dbscripts-e2efbc58d64c6202fcad66ebefd5dcdcb28f985a.tar.gz dbscripts-e2efbc58d64c6202fcad66ebefd5dcdcb28f985a.tar.xz |
Move global code under a if __name__ == '__main__' block.
This allows running python2 -m doctest on the script.
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
Diffstat (limited to 'db-move')
0 files changed, 0 insertions, 0 deletions