comparison svnwrap/svn_swig_wrapper.py @ 36:c4523e651325

Fix tests against the improved SWIG bindings in Subversion 1.6.
author Augie Fackler <durin42@gmail.com>
date Sat, 18 Oct 2008 18:56:09 -0500
parents 2953c867ca99
children ce00e6ffaa90
comparison
equal deleted inserted replaced
35:ef5d7a7aabb0 36:c4523e651325
38 client.get_ssl_client_cert_pw_file_provider(), 38 client.get_ssl_client_cert_pw_file_provider(),
39 client.get_ssl_server_trust_file_provider(), 39 client.get_ssl_server_trust_file_provider(),
40 ] 40 ]
41 # Platform-dependant authentication methods 41 # Platform-dependant authentication methods
42 if hasattr(client, 'get_windows_simple_provider'): 42 if hasattr(client, 'get_windows_simple_provider'):
43 providers.append(client.get_windows_simple_provider()) 43 try:
44 providers.append(client.get_windows_simple_provider())
45 except:
46 pass
44 if hasattr(client, 'get_keychain_simple_provider'): 47 if hasattr(client, 'get_keychain_simple_provider'):
45 providers.append(client.get_keychain_simple_provider()) 48 try:
49 providers.append(client.get_keychain_simple_provider())
50 except:
51 pass
46 providers.extend([client.get_simple_prompt_provider(user_pass_prompt, 2), 52 providers.extend([client.get_simple_prompt_provider(user_pass_prompt, 2),
47 ]) 53 ])
48 return core.svn_auth_open(providers, pool) 54 return core.svn_auth_open(providers, pool)
49 55
50 56