-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #7
Develop #7
Conversation
= =首先。。。请先rebase。。。。 |
好的 我rebase一下 |
👍 |
logging.BASIC_FORMAT = "%(asctime)s [%(name)s] %(message)s" | ||
logging.basicConfig(level=level) | ||
if self.config.log_file: | ||
paramiko.util.log_to_file(self.config.log_file, level=level) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paramiko 的 log 能否都统一输出到 logging ,然后输出文件与否由 logging 的配置决定? cc @CMGS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以的,直接上报到logging.root
|
@waterdrinker gevent 的 worker 正常了么? |
@waterdrinker 改一下 pull request 的 title 吧,比如 'Add maria command' 什么的 |
# -*- coding: utf-8 - | ||
|
||
try: | ||
import gevent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gevent
并没有用到。。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认-w sync不用gevent, 指定-w async才会导入这个模块
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我是说 gevent
这个module 在这个文件里面并没有用到
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
知道了,我改一下
@xtao 这位也是参加OSC暑假的实习生吗? |
@alexband 是的 |
@xtao Add maria/tests |
👍 |
assert pclone.wait() == 0 | ||
|
||
def test_push(self): | ||
cmd = 'mkdir %s; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里有点狠了。。写个 bash 做这件事?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯
fe0bc6d
to
30fc48a
Compare
30fc48a
to
682ad1b
Compare
... 这个 PR 被遗忘了么 |
去年的。。。 |
... 我今年又看到了这个... |
@tonicbupt 前年的 |
1 Add maria/worker.
2 Fix command line interface: 1. -w sync(or async) 2. xxx.xxx:app
3 Add maria/tests