Getting rid of pesky 'warning: parenthesize argument(s) for future version'
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
353d9561e7
commit
eca31da253
@ -39,7 +39,7 @@ class SoftwareSpecification
|
||||
# Returns a suitable DownloadStrategy class that can be
|
||||
# used to retreive this software package.
|
||||
def download_strategy
|
||||
return detect_download_strategy @url if @using.nil?
|
||||
return detect_download_strategy(@url) if @using.nil?
|
||||
|
||||
# If a class is passed, assume it is a download strategy
|
||||
return @using if @using.kind_of? Class
|
||||
|
Loading…
x
Reference in New Issue
Block a user