Skip to content

Commit

Permalink
nitfixes: issues deteced by CodeFactor.com
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerhards committed Nov 2, 2018
1 parent cbc19bd commit a2be084
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os
import sys
import os

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -41,6 +42,7 @@

# General information about the project.
project = u'Liblognorm'
# pylint: disable=W0141
copyright = u'Adiscon'

# The version info for the project you're documenting, acts as replacement for
Expand Down
6 changes: 2 additions & 4 deletions tests/lognormalizer-invld-call.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
# This file is part of the liblognorm project, released under ASL 2.0

echo running test $0
../src/lognormalizer
if [ $? -eq 0 ]; then
if ../src/lognormalizer ; then
echo "FAIL: loganalyzer did not detect missing rulebase"
exit 1
fi
../src/lognormalizer -r test -R test
if [ $? -eq 0 ]; then
if ../src/lognormalizer -r test -R test ; then
echo "FAIL: loganalyzer did not detect both -r and -R given"
exit 1
fi

0 comments on commit a2be084

Please sign in to comment.