SF.net SVN: fclient: [393] trunk/sandbox/fcp2/key.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-04-09 21:27:03
|
Revision: 393
http://fclient.svn.sourceforge.net/fclient/?rev=393&view=rev
Author: jUrner
Date: 2008-04-09 14:26:57 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
looks like fiename part is optional in SSKs
Modified Paths:
--------------
trunk/sandbox/fcp2/key.py
Modified: trunk/sandbox/fcp2/key.py
===================================================================
--- trunk/sandbox/fcp2/key.py 2008-04-09 21:09:58 UTC (rev 392)
+++ trunk/sandbox/fcp2/key.py 2008-04-09 21:26:57 UTC (rev 393)
@@ -184,8 +184,10 @@
(?P<cryptoKey>[a-z0-9\-~]{43}),
(?P<extra>[a-z0-9\-~]{7})
)
- (?: / (?P<filename>[^/]+?))
- (?: /)?
+ (
+ (?: / (?P<filename>[^/]+?))
+ (?: /)?
+ )?
'''
KeyType = consts.KeyType.SSK
KeyPattern = re.compile(_key_pattern_, re.I | re.X)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|