File tree Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ PYLINT=`which pylint`
4
4
HEXAPARSE =./hexaparse.py
5
5
6
6
DIST_DIR =dist
7
+ BROWSER_VERS_STRING =` git describe --tags --exact-match --abbrev=0 || git rev-parse --short HEAD `
8
+
7
9
8
10
clean :
9
11
-rm -rf $(DIST_DIR )
@@ -44,4 +46,4 @@ dist: check_cluster clean unittests tags
44
46
cp README.md $(DIST_DIR )
45
47
cp -r stat_key_browser $(DIST_DIR )
46
48
cp -r web_app $(DIST_DIR )
47
- zip -r isilon_stat_browser_$$( git describe --exact-match --abbrev=0 ) .zip dist/*
49
+ zip -r isilon_stat_browser_$( BROWSER_VERS_STRING ) .zip dist/*
Original file line number Diff line number Diff line change 1
1
import sys
2
2
try :
3
- import isi_sdk
3
+ import isi_sdk_7_2 as isi_sdk
4
4
except ImportError as err :
5
- print ('Unable to import isi_sdk. Please install the Isilon SDK.' )
6
- print ('See https://github.com/isilon' )
7
- print (err )
8
- sys .exit (1 )
5
+ try :
6
+ # Try the original SDK library name
7
+ import isi_sdk
8
+ except ImportError as err :
9
+ print ('Unable to import isi_sdk_7_2. Please install the Isilon SDK.' )
10
+ print ('See https://github.com/isilon' )
11
+ print (err )
12
+ sys .exit (1 )
9
13
10
14
11
15
class ApiException (Exception ):
Original file line number Diff line number Diff line change 9
9
import logging
10
10
import sys
11
11
try :
12
- import isi_sdk
12
+ import isi_sdk_7_2 as isi_sdk
13
13
except ImportError as err :
14
- print ('Unable to import isi_sdk. Please install the Isilon SDK.' )
15
- print ('See https://github.com/isilon' )
16
- print (err )
17
- sys .exit (1 )
14
+ try :
15
+ # Try the original SDK library name
16
+ import isi_sdk
17
+ except ImportError as err :
18
+ print ('Unable to import isi_sdk_7_2. Please install the Isilon SDK.' )
19
+ print ('See https://github.com/isilon' )
20
+ print (err )
21
+ sys .exit (1 )
18
22
19
23
PRIMARY = 0
20
24
Original file line number Diff line number Diff line change 1
- pass
1
+ class TestBrowserBuilderFunctional (object ):
2
+ def test_001_stub (self ):
3
+ pass
You can’t perform that action at this time.
0 commit comments