diff options
author | hut <hut@lavabit.com> | 2010-09-23 10:50:57 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-09-23 10:50:57 +0200 |
commit | 0ea6c566f1b3dd7c8e5471651ebbe68a53d01de6 (patch) | |
tree | e0bfc4aee5362d1899f74fcfeca48e9311ddfee5 | |
parent | 386b40330b1cd27f85d6123dcbc9c5b5a814c6e3 (diff) | |
download | ranger-0ea6c566f1b3dd7c8e5471651ebbe68a53d01de6.tar.gz |
Forbid to run "python /usr/lib/.../ranger", use ranger.py instead
-rw-r--r-- | ranger/__main__.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ranger/__main__.py b/ranger/__main__.py index 7a31f6a3..4cdf1488 100644 --- a/ranger/__main__.py +++ b/ranger/__main__.py @@ -1,6 +1,3 @@ -#!/usr/bin/env python -# coding=utf-8 -# # Copyright (C) 2009, 2010 Roman Zimbelmann <romanz@lavabit.com> # # This program is free software: you can redistribute it and/or modify @@ -240,10 +237,3 @@ def main(): print("http://savannah.nongnu.org/bugs/?group=ranger&func=additem") return 1 return 0 - - -if __name__ == '__main__': - # The ranger directory can be executed directly, for example by typing - # python /usr/lib/python2.6/site-packages/ranger - sys.path.insert(0, os.path.dirname(sys.path[0])) - main() |