mirror of https://github.com/jumpserver/jumpserver
				
				
				
			修改bug
							parent
							
								
									54da30d93b
								
							
						
					
					
						commit
						5b060a768a
					
				| 
						 | 
				
			
			@ -1,9 +1,6 @@
 | 
			
		|||
#!/usr/bin/python
 | 
			
		||||
# coding: utf-8
 | 
			
		||||
 | 
			
		||||
cur_dir = os.path.dirname(__file__)
 | 
			
		||||
sys.path.append('%s/webroot/AutoSA/' % cur_dir)
 | 
			
		||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'AutoSa.settings'
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
import sys
 | 
			
		||||
| 
						 | 
				
			
			@ -20,6 +17,11 @@ from binascii import b2a_hex, a2b_hex
 | 
			
		|||
import ConfigParser
 | 
			
		||||
import paramiko
 | 
			
		||||
import pxssh
 | 
			
		||||
 | 
			
		||||
cur_dir = os.path.dirname(__file__)
 | 
			
		||||
sys.path.append('%s/webroot/AutoSA/' % cur_dir)
 | 
			
		||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'AutoSa.settings'
 | 
			
		||||
 | 
			
		||||
from UserManage.models import User
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue