[Tutor] Tutor Digest, Vol 96, Issue 8

Alan Gauld alan.gauld at btinternet.com
Sat Feb 4 15:28:16 CET 2012


On 04/02/12 13:29, Zafrullah Syed wrote:

> I need urgent help:

Then you are going a very bad way of getting it.
If you must post for help

a) pick a forum that ir related to your problem.
This is a python beginners mailing list not an
svn problem list.

b) Follow the rules of the forum you are using
eg (1)don't post the same question multiple times, it doesn't elicit 
answers quicker it just annoys people so they don't answer at all.
(2)Pick a sensible subject matter, neither of your posts tell us what 
you want to know (3) provide enough information so that folks can help - 
version numbers, OS, etc etc. (4) Don't post an entire digest to a 
mailing list where some people pay by the byte. (Actually, don't post 
the entire digest even if they don't pay by byte! It just wastes space)

In short think. Think about what people need to know to help you and 
where are the people that can help most likely to be located. Make it 
easy for us to help you and we might respond, make it hard to help and 
we probably won't.

> I am unable to commit code to svn, I am getting this warning:
>
> *svn: Commit failed (details follow):*
> *svn: Commit blocked by pre-commit hook (exit code 1) with output:*
> *<string>:17: Warning: 'with' will become a reserved keyword in Python 2.6*
> *writeConf.py:17: invalid syntax*
> *Commited Python-Files refused, please check and retry...*

Have you looked at the file in question? Have you looked at the lines 
around the error report? Are you using 'with' in an appropriate way?

> How do i surpass this and commit my code??

You fix the error, one way or another. But without sight of your code or 
the svn hook or your local coding standards/environment there's not much 
we can do except guess.


-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/



More information about the Tutor mailing list