Detects travis and ignores pygtk
This commit is contained in:
parent
578830a2e6
commit
b1bcdf1024
|
@ -1,14 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
try:
|
||||
import os
|
||||
|
||||
if(os.environ.get('TRAVIS')!='true'):
|
||||
import pygtk
|
||||
|
||||
pygtk.require('2.0')
|
||||
import gtk
|
||||
|
||||
import webbrowser
|
||||
except ImportError:
|
||||
pass
|
||||
import json
|
||||
import argparse
|
||||
from os.path import expanduser
|
||||
|
|
Loading…
Reference in New Issue