diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 9d6b9b40..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,21 +0,0 @@ -image: "python:3.7" - -before_script: - - python --version - - pip install -r requirements.txt - -stages: - - Static Analysis - - Test - -flake8: - stage: Static Analysis - script: - - flake8 --max-line-length=120 bild/*.py - -unit_test: - stage: Test - script: - - export PYTHONPATH="$PYTHONPATH:." - - python -c "import sys;print(sys.path)" - - pytest \ No newline at end of file diff --git a/README.md b/README.md index f6016b75..1d2f74a3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# slpkg 3.8.8 +# slpkg 3.8.9 Slpkg is a powerful software package manager that installs, updates, and removes packages on [Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and diff --git a/slpkg/__metadata__.py b/slpkg/__metadata__.py index 372cfb95..5940e810 100644 --- a/slpkg/__metadata__.py +++ b/slpkg/__metadata__.py @@ -76,7 +76,7 @@ class MetaData: __all__ = "slpkg" __author__ = "dslackw" - __version_info__ = (3, 8, 8) + __version_info__ = (3, 8, 9) __version__ = "{0}.{1}.{2}".format(*__version_info__) __license__ = "GNU General Public License v3 (GPLv3)" __email__ = "d.zlatanidis@gmail.com" diff --git a/slpkg/main.py b/slpkg/main.py index c250905e..d86ea0a2 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -341,13 +341,13 @@ class ArgParse(BlackList): """ flag, skip = [], "" if flags[0] in self.args: - for arg in self.args[3:]: + for arg in self.args: if arg.startswith(flags[1]): skip = Regex(arg.split("=")[1]).get() self.args.remove(arg) if arg in flags: flag.append(arg) - if arg in self.args: + if arg not in self.args: self.args.remove(arg) if "--checklist" in flag: self.if_checklist()