Skip to content

Commit

Permalink
fix python 2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Oct 21, 2024
1 parent f785918 commit 94aaeb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
File renamed without changes.
7 changes: 6 additions & 1 deletion test/stub/wsgi/passenger_wsgi.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import os, sys, time, cgi
import os, sys, time

if sys.version_info[0] >= 3 and sys.version_info[1] >= 13:
import cgishim
else:
import cgi

def file_exist(filename):
try:
Expand Down

0 comments on commit 94aaeb7

Please sign in to comment.