wangxili 4 роки тому
батько
коміт
34e8ff9bb0
3 змінених файлів з 5 додано та 5 видалено
  1. 2 2
      aliyun_demo.py
  2. 1 1
      setup.py
  3. 2 2
      test.py

+ 2 - 2
aliyun_demo.py

@@ -38,6 +38,6 @@ try:
     print("begin");
     f= a.getResponse()
     print(f)
-except Exception,e:
+except Exception as e:
     print(e)
-    
+

+ 1 - 1
setup.py

@@ -18,7 +18,7 @@ setup(
     keywords=('dingtalk python'),
     author='AM.software',
     author_email='wangxl@amtxtx.com',
-    packages=['aliyun', 'dingtalk', 'top'],
+    packages=['dingtalk'],
     zip_safe=False,
     classifiers=(
         "Programming Language :: Python :: 3",

+ 2 - 2
test.py

@@ -38,6 +38,6 @@ a.fields="nick"
 try:
     f= a.getResponse()
     print(f)
-except Exception,e:
+except Exception as e:
     print(e)
-    
+