Did you try taking the parenthesis away from around the 3134? ------
On Aug 2, 2013, at 3:11 PM, "Worker Bee" <beeworke...@gmail.com> wrote: > Hi Everyone; > > I am having a formatting issue. I am not a seasoned Python programmer so, if > this is a dumb question, please forgive me. > > I need to store a value as an integer and then call it in a command > > repo_id = (3134) > print(repo_id) > sudo ('run repo-lock > --repo-id={repo_id}'.format(repo_id=repo_id)) > > > When I execute, this is the error I get > > [build1] out: > 3134 > [build1] out: can't convert String into Integer > [build1] out: > > > I would so appreciate any help... pulling my hair out! > > Bee > _______________________________________________ > Fab-user mailing list > Fab-user@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fab-user _______________________________________________ Fab-user mailing list Fab-user@nongnu.org https://lists.nongnu.org/mailman/listinfo/fab-user