Closed JakubNvk closed 9 years ago
A few things:
self.notes[to_user]
yet) adds some other sticky note then sticky notes of person A will get lost. I doubt this is what you want.In general, I'm glad you tried to fight with this but as I said, I'd appreciate if you could either create a Note object which could have an attribute from_nick
or if you could use a dictionary for the same purpose (something like {'from_user': 'johndoe", 'note': 'Finally I caught you!'}
). These would then get appended to self.notes[to_nick]
in the same way as they are currently.
Do let me know if that makes more sense now or if I ommited some important detail.
Thanks!
@JakubNvk thanks, this looks good to me.
Just squash it and we can merge it.
@mrshu @JakubNvk use simple quotes ' ' in strings where possible
@Adman I really prefer " "
for strings. It wasn't a problem in karma.py
.
Closing this and creating new PR since there are some problems with squashing.
@Adman I do not think we need to be that restrictive. There is no real difference between the two.
I personally like to use double quotes on strings that will be interpolated or will contain the single quote symbol somewhere. However, I do not think we need to make that a rule (cc @pepol)
To: @mrshu