Created
July 14, 2015 16:01
-
-
Save hello-josh/23806403a594ea0e9811 to your computer and use it in GitHub Desktop.
Probably the best code I've seen in July
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
messages = lib.messaging.get_all_messages(opaqueID) | |
message_count = 0 | |
for message in messages: | |
message_count = message_count + 1 | |
metrics['message_count'] = mesage_count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment