Skip to content

Commit

Permalink
fixup sqlite unit tests which rely on calling main with specific args
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@22647 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 6, 2019
1 parent 5d27dfd commit 2c6c8ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/xpra/server/auth/sqlite_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def get_authenticator_class(self):
return Authenticator


def main():
return run_dbutil(SqliteDatabaseUtil, "filename", sys.argv)
def main(argv):
return run_dbutil(SqliteDatabaseUtil, "filename", argv)

if __name__ == "__main__":
sys.exit(main())
sys.exit(main(sys.argv))

0 comments on commit 2c6c8ad

Please sign in to comment.