is this better

                conn = cloudfiles.get_connection(username, 
                                                 key, 
                                                 servicenet=use_service_net, 
                                                 authurl=auth_url)