File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ def default(self):
5050
5151 @expose (hide = True )
5252 def clean_memcache (self ):
53- """This function Clears memcache"""
53+ """This function Clears memcache """
5454 try :
5555 if (EEAptGet .is_installed (self , "memcached" )):
5656 EEService .restart_service (self , "memcached" )
Original file line number Diff line number Diff line change @@ -418,9 +418,10 @@ def site_package_check(self, stype):
418418 Log .debug (self , "Setting packages variable for WP-CLI" )
419419 if not EEShellExec .cmd_exec (self , "which wp" ):
420420 packages = packages + [["https://github.com/wp-cli/wp-cli/"
421- "releases/download/v0.17.1/"
422- "wp-cli.phar" , "/usr/bin/wp" ,
423- "WP-CLI" ]]
421+ "releases/download/{0}/"
422+ "wp-cli.phar"
423+ .format (EEVariables .ee_wp_cli ),
424+ "/usr/bin/wp" , "WP-CLI" ]]
424425 return (stack .install (apt_packages = apt_packages , packages = packages ,
425426 disp_msg = False ))
426427
You can’t perform that action at this time.
0 commit comments