aboutsummaryrefslogtreecommitdiffstats
path: root/sosreport
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-03-24 15:38:37 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-04-07 16:43:35 -0400
commitdfcabc689e0e5fdc40c6ecf3df2c92b3e4a8bdd1 (patch)
tree0f03645f3fc5011ddad7317afaa7495be384bfab /sosreport
parenta7af4324bd6f91263954516e04488fcd28161b88 (diff)
downloadsos-dfcabc689e0e5fdc40c6ecf3df2c92b3e4a8bdd1.tar.gz
[4.0] Re-organize tree for sos-4.0
This is the beginning of the sos-4.0 design rework. First, move the existing `sosreport` binary into a new top-level `bin` dir. The future `sos` binary will also live here. Second, create a `report` subdir within the `sos` module, and move the relevant `sosreport` bits to that subdir. A following commit will update all references like `from sos.plugins` to `from sos.report.plugins`. Related: #1986 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'sosreport')
-rwxr-xr-xsosreport21
1 files changed, 0 insertions, 21 deletions
diff --git a/sosreport b/sosreport
deleted file mode 100755
index af6fab68..00000000
--- a/sosreport
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/python
-# This file is part of the sos project: https://github.com/sosreport/sos
-#
-# This copyrighted material is made available to anyone wishing to use,
-# modify, copy, or redistribute it subject to the terms and conditions of
-# version 2 of the GNU General Public License.
-#
-# See the LICENSE file in the source distribution for further information.
-
-""" sos entry point. """
-
-import sys
-try:
- from sos.sosreport import main
-except KeyboardInterrupt:
- raise SystemExit()
-
-if __name__ == '__main__':
- main(sys.argv[1:])
-
-# vim:ts=4 et sw=4