From 95cc5f51d17066b6abea5dccce9713878efd106d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Oct 2009 01:58:52 +0000 Subject: Fix _set module imports for rename, add hardcoded config for system and world, and remove unused sets code. svn path=/main/branches/2.1.7/; revision=14540 --- bin/glsa-check | 317 --------------------------------------------------------- 1 file changed, 317 deletions(-) delete mode 100755 bin/glsa-check (limited to 'bin/glsa-check') diff --git a/bin/glsa-check b/bin/glsa-check deleted file mode 100755 index 19f451c59..000000000 --- a/bin/glsa-check +++ /dev/null @@ -1,317 +0,0 @@ -#!/usr/bin/python -# Copyright 2008-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -from __future__ import print_function - -import sys - -try: - import portage -except ImportError: - from os import path as osp - sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym")) - import portage - -from portage import os -from portage.output import * - -from optparse import OptionGroup, OptionParser - -__program__ = "glsa-check" -__author__ = "Marius Mauch " -__version__ = "1.0" - -def cb_version(*args, **kwargs): - """Callback for --version""" - sys.stderr.write("\n"+ __program__ + ", version " + __version__ + "\n") - sys.stderr.write("Author: " + __author__ + "\n") - sys.stderr.write("This program is licensed under the GPL, version 2\n\n") - sys.exit(0) - -# option parsing -parser = OptionParser(usage="%prog