mirror of
				https://github.com/sqlmapproject/sqlmap.git
				synced 2025-10-31 07:57:47 +03:00 
			
		
		
		
	Trivial update of doctests
This commit is contained in:
		
							parent
							
								
									3724a53466
								
							
						
					
					
						commit
						af3b79ff8b
					
				|  | @ -3024,6 +3024,8 @@ def getPublicTypeMembers(type_, onlyValues=False): | |||
| 
 | ||||
|     >>> [_ for _ in getPublicTypeMembers(OS, True)] | ||||
|     ['Linux', 'Windows'] | ||||
|     >>> [_ for _ in getPublicTypeMembers(PAYLOAD.TECHNIQUE, True)] | ||||
|     [1, 2, 3, 4, 5, 6] | ||||
|     """ | ||||
| 
 | ||||
|     retVal = [] | ||||
|  |  | |||
|  | @ -25,6 +25,8 @@ def cachedmethod(f): | |||
|     >>> __ = cachedmethod(lambda _: _) | ||||
|     >>> __(1) | ||||
|     1 | ||||
|     >>> __(1) | ||||
|     1 | ||||
|     >>> __ = cachedmethod(lambda *args, **kwargs: args[0]) | ||||
|     >>> __(2) | ||||
|     2 | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ from lib.core.enums import OS | |||
| from thirdparty.six import unichr as _unichr | ||||
| 
 | ||||
| # sqlmap version (<major>.<minor>.<month>.<monthly commit>) | ||||
| VERSION = "1.5.2.7" | ||||
| VERSION = "1.5.2.8" | ||||
| TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" | ||||
| TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} | ||||
| VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user