Created by: putcn
fix: #9391 (closed) fix #7476 (closed)
the issue is about syntax issue when run the default command "paddle version" from production docker image.
[root@k8s-node1 ~]# docker run --rm -it putcn/paddle:pro
/usr/local/bin/paddle: line 158: [: 0.10.0: binary operator expected
File "<stdin>", line 3
if LooseVersion("0.10.0
^
SyntaxError: EOL while scanning string literal
the fix is to adding a pair of missing quote, and corrected the logic grabbing the current paddle version