mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	pep8 style code corrections
This commit is contained in:
		
							parent
							
								
									fdbb6739c1
								
							
						
					
					
						commit
						828a271789
					
				
					 18 changed files with 69 additions and 64 deletions
				
			
		| 
						 | 
				
			
			@ -120,7 +120,7 @@ def get_connection_infos(token):
 | 
			
		|||
        console_host = conn.get_console_listen_addr()
 | 
			
		||||
        console_port = conn.get_console_port()
 | 
			
		||||
        console_socket = conn.get_console_socket()
 | 
			
		||||
    except Exception, e:
 | 
			
		||||
    except Exception as e:
 | 
			
		||||
        logging.error('Fail to retrieve console connection infos for token %s : %s' % (token, e))
 | 
			
		||||
        raise
 | 
			
		||||
    return (connhost, connport, connuser, conntype, console_host,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,5 @@
 | 
			
		|||
import re
 | 
			
		||||
from django.shortcuts import render
 | 
			
		||||
from django.http import HttpResponseRedirect
 | 
			
		||||
from django.core.urlresolvers import reverse
 | 
			
		||||
from django.contrib.auth.decorators import login_required
 | 
			
		||||
from instances.models import Instance
 | 
			
		||||
from vrtManager.instance import wvmInstance
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue